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
-
r
numpy.ndarray
-
Intensities for red (
[0., 1.]
). -
g
numpy.ndarray
-
Intensities for green (
[0., 1.]
). -
b
numpy.ndarray
-
Intensities for blue (
[0., 1.]
).
Return
list
: Returns a list of numpy.ndarray
s with the corresponding coordinates in the HSV color space ([h, s, v]
). Same length as the inputs.