Convert HLS to RGB
Description
Shortcut from HLS to RGB (not via sRGB). Expecting h in [0., 360.]
, l/s in [0., 1.]
. Returns r/g/b in [0.,1.]
.
Usage
colorlib.HLS_to_RGB(h, l, s)
Arguments
-
h
numpy.ndarray
-
Hue (
[0., 360.]
) -
l
numpy.ndarray
-
Luminance (
[0., 1.]
) -
s
numpy.ndarray
-
Saturation (
[0., 1.]
)
Return
list
: Returns a list of numpy.ndarray
s with the corresponding coordinates in the RGB color space ([r, g, b]
). Same length as the inputs.