def decompose(color):
    """Retrieve the red, green, blue component byte values from a 24-bit RGB
    color value.  Returns a 3-tuple of byte values (red, green, blue).
    """
    return ((color >> 16) & 0xFF, (color >> 8) & 0xFF, color & 0xFF)