colour.temperature.CCT_to_xy_Kang2002¶
-
colour.temperature.
CCT_to_xy_Kang2002
(CCT)[source]¶ Returns the CIE xy chromaticity coordinates from given correlated colour temperature \(T_{cp}\) using Kang et al. (2002) method.
- Parameters
CCT (numeric or array_like) – Correlated colour temperature \(T_{cp}\).
- Returns
CIE xy chromaticity coordinates.
- Return type
ndarray
- Raises
ValueError – If the correlated colour temperature is not in appropriate domain.
References
Examples
>>> CCT_to_xy_Kang2002(6504.38938305) array([ 0.313426 ..., 0.3235959...])