colour.HSL_to_RGB#

colour.HSL_to_RGB(HSL: ArrayLike) numpy.ndarray[source]#

Convert from HSL colourspace to RGB colourspace.

Parameters

HSL (ArrayLike) – HSL colourspace array.

Returns

RGB colourspace array.

Return type

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

HSL

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

RGB

[0, 1]

[0, 1]

References

[EasyRGBd], [Smi78], [Wikipedia03g]

Examples

>>> HSL = np.array([0.99603944, 0.87347144, 0.24350795])
>>> HSL_to_RGB(HSL)  
array([ 0.4562051...,  0.0308107...,  0.0409195...])