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
-
hnumpy.ndarray -
Hue (
[0., 360.]) -
lnumpy.ndarray -
Luminance (
[0., 1.]) -
snumpy.ndarray -
Saturation (
[0., 1.])
Return
list: Returns a list of numpy.ndarrays with the corresponding coordinates in the RGB color space ([r, g, b]). Same length as the inputs.