colour.temperature.xy_to_CCT_Hernandez1999

colour.temperature.xy_to_CCT_Hernandez1999(xy)[source]

Returns the correlated colour temperature \(T_{cp}\) from given CIE xy chromaticity coordinates using Hernandez-Andres et al. (1999) method.

Parameters

xy (array_like) – CIE xy chromaticity coordinates.

Returns

Correlated colour temperature \(T_{cp}\).

Return type

numeric

References

[HernandezAndresLR99]

Examples

>>> xy = np.array([0.31270, 0.32900])
>>> xy_to_CCT_Hernandez1999(xy)  
6500.7420431...