matplotlib.colors.rgb_to_hsv
matplotlib.colors.
rgb_to_hsv
convert float rgb values (in the range [0, 1]), in a numpy array to hsv values.
arr : (…, 3) array-like
All values must be in the range [0, 1]
hsv : (…, 3) ndarray
Colors converted to hsv values in range [0, 1]
Visualizing named colors