Calculation of CIE Chromaticity Coordinates
The calculation of the CIE chromaticity coordinates for a given colored object requires the multiplication of its spectral power at each wavelength times the weighting factor from each of the three color matching functions. Summing these contributions gives three values called the tristimulus values, from which the chromaticity coordinates are derived.
Color vision concepts
Williamson & Cummins