colour.IHLS_to_RGB#

colour.IHLS_to_RGB(HYS: ArrayLike) numpy.ndarray[source]#

Convert from IHLS (Improved HLS) colourspace to RGB colourspace.

Parameters

HYS (ArrayLike) – IHLS colourspace array.

Returns

RGB colourspace array.

Return type

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

HYS

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

RGB

[0, 1]

[0, 1]

References

[Han03]

Examples

>>> HYS = np.array([6.26160518, 0.12162712, 0.42555869])
>>> IHLS_to_RGB(HYS)  
array([ 0.4559557...,  0.0303970...,  0.0408724...])