(r, g, b)
return rgba_to_hsva(r, g, b)[:3]
Converts a color given by its RGB coordinates to HSV coordinates
    (hue, saturation, value).

    Each of the RGB coordinates must be in the range [0, 1].
Converts a color given by its RGB coordinates to HSV coordinates
    (hue, saturation, value).
Converts a color given by its RGB coordinates to HSV coordinates ( hue saturation value ) .
def rgb_to_hsv(r, g, b):
    """Converts a color given by its RGB coordinates to HSV coordinates
    (hue, saturation, value).

    Each of the RGB coordinates must be in the range [0, 1].
    """
    return rgba_to_hsva(r, g, b)[:3]
def rgb_to_hsv ( r , g , b ) : return rgba_to_hsva ( r , g , b ) [ : 3 ]