colour.HSL_to_RGB

colour.HSL_to_RGB(HSL)[source]

Converts from HSL colourspace to RGB colourspace.

Parameters:HSL (array_like) – HSL colourspace array.
Returns:RGB colourspace array.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
HSL [0, 1] [0, 1]
Range Scale - Reference Scale - 1
RGB [0, 1] [0, 1]

References

[EasyRGBk], [Smith1978b], [Wikipedia2003]

Examples

>>> HSL = np.array([0.99603944, 0.87347144, 0.24350795])
>>> HSL_to_RGB(HSL)  # doctest: +ELLIPSIS
array([ 0.4562051...,  0.0308107...,  0.0409195...])