colour.temperature.CCT_to_xy_Kang2002#

colour.temperature.CCT_to_xy_Kang2002(CCT: ArrayLike) NDArrayFloat[source]#

Return the CIE xy chromaticity coordinates from given correlated colour temperature \(T_{cp}\) using Kang et al. (2002) method.

Parameters:

CCT (ArrayLike) – Correlated colour temperature \(T_{cp}\).

Returns:

CIE xy chromaticity coordinates.

Return type:

numpy.ndarray

Raises:

ValueError – If the correlated colour temperature is not in appropriate domain.

References

[KMH+02]

Examples

>>> CCT_to_xy_Kang2002(6504.38938305)  
array([ 0.313426 ...,  0.3235959...])