colour.CCT_to_xy#

colour.CCT_to_xy(CCT: ArrayLike, method: Literal['CIE Illuminant D Series', 'Kang 2002', 'Hernandez 1999', 'McCamy 1992'] | str = 'CIE Illuminant D Series') NDArrayFloat[source]#

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

Parameters:
Returns:

CIE xy chromaticity coordinates.

Return type:

numpy.ndarray

References

[HernandezAndresLR99], [KMH+02], [Wikipedia01a], [Wikipedia01b], [WS00k]

Examples

>>> CCT_to_xy(6504.38938305)  
array([ 0.3127077...,  0.3291128...])
>>> CCT_to_xy(6504.38938305, "Kang 2002")
... 
array([ 0.313426 ...,  0.3235959...])