matplotlib.colors.rgb_to_hsv# matplotlib.colors.rgb_to_hsv(arr)[source]# Convert an array of float RGB values (in the range [0, 1]) to HSV values. Parameters: arr(..., 3) array-likeAll values must be in the range [0, 1] Returns: (..., 3) ndarrayColors converted to HSV values in range [0, 1]