Convert RGB to HSV
Description
Convert one (or multiple) rgb colors given their red, blue, and red coodinates ([0.0, 1.0]) to their corresponding hue, saturation, and value (HSV) coordinates.
Usage
colorlib.sRGB_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.