colour.colorimetry.yellowness_ASTME313

colour.colorimetry.yellowness_ASTME313(XYZ)[source]

Returns the yellowness index \(YI\) of given sample CIE XYZ tristimulus values using ASTM E313 method.

ASTM E313 has successfully been used for a variety of white or near white materials. This includes coatings, Plastics, Textiles.

Parameters

XYZ (array_like) – CIE XYZ tristimulus values of sample.

Returns

Whiteness \(YI\).

Return type

numeric or ndarray

Notes

Domain

Scale - Reference

Scale - 1

XYZ

[0, 100]

[0, 1]

Range

Scale - Reference

Scale - 1

YI

[0, 100]

[0, 1]

References

[XRitePantone12]

Examples

>>> import numpy as np
>>> XYZ = np.array([95.00000000, 100.00000000, 105.00000000])
>>> yellowness_ASTME313(XYZ)  
11.0650000...