colour.IHLS_to_RGB#
- colour.IHLS_to_RGB(HYS: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Convert from IHLS (Improved HLS) colourspace to RGB colourspace.
- Parameters:
HYS (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – IHLS colourspace array.
- Returns:
RGB colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
HYS1
1
Range
Scale - Reference
Scale - 1
RGB1
1
References
[Han03]
Examples
>>> HYS = np.array([6.26160518, 0.12162712, 0.42555869]) >>> IHLS_to_RGB(HYS) array([ 0.4559557..., 0.0303970..., 0.0408724...])