(value)
return [int(value[i:i + 2], 16) for i in range(0, 6, 2)]
Convert a hex-formatted color to rgb, ignoring alpha values.
Convert a hex-formatted color to rgb, ignoring alpha values.
Convert a hex - formatted color to rgb ignoring alpha values .
def _hex_to_rgb(value):
    """Convert a hex-formatted color to rgb, ignoring alpha values."""
    value = value.lstrip("#")
    return [int(value[i:i + 2], 16) for i in range(0, 6, 2)]
def _hex_to_rgb ( value ) : value = value . lstrip ( "#" ) return [ int ( value [ i : i + 2 ] , 16 ) for i in range ( 0 , 6 , 2 ) ]