Convert RGB to HSV

Description

Shortcut from RGB to HSV (not via sRGB). All r/g/b values in [0., 1.], h in [0., 360.], l and s in [0., 1.].

Usage

colorlib.RGB_to_HSV(r, g, b)

Arguments

rnumpy.ndarray
Intensities for red ([0., 1.])
gnumpy.ndarray
Intensities for green ([0., 1.])
bnumpy.ndarray
Intensities for blue ([0., 1.])

Return

list: Returns a list of numpy.ndarrays with the corresponding coordinates in the HSV color space ([h, s, v]). Same length as the inputs.