def compose(red, green, blue):
    """Generate a 24-bit RGB color value from the provided red, green, blue
    component byte values.
    """
    return (((red & 0xFF) << 16) | ((green & 0xFF) << 8) | (blue & 0xFF)) & 0xFFFFFF