colour.XYZ_to_xy#
- colour.XYZ_to_xy(XYZ: ArrayLike) NDArrayFloat [source]#
Return the CIE xy chromaticity coordinates from given CIE XYZ tristimulus values.
- Parameters:
XYZ (ArrayLike) – CIE XYZ tristimulus values.
- Returns:
CIE xy chromaticity coordinates.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
References
[CIET14804f], [Wikipedia05d]
Examples
>>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952]) >>> XYZ_to_xy(XYZ) array([ 0.5436955..., 0.3210794...])