import colorsys


def rgb2hsv(rgb_tuple):

    """Converts RGB floats to HSV."""
    r = rgb_tuple[0]
    g = rgb_tuple[1]
    b = rgb_tuple[2]

    hsv_tuple = colorsys.rgb_to_hsv(r, g, b)

    return hsv_tuple