Dominant wavelngth (nm) | x | y | xd | yd |
---|---|---|---|---|
Standard illuminants of white light | xs | ys | Color purity (%) | |
---|---|---|---|---|
0.31006 | 0.31616 |
The following equation is implemented:
$$Color\,purity = \frac{\sqrt{(x-x_{s})^{2}+(y-y_{s})^{2}}}{\sqrt{(x_{d}-x_{s})^{2}+(y_{d}-y_{s})^{2}}}\times100% $$
Where:
x and y are the CIE coordinates of the entire spectrum.
xs and ys are the CIE coordinates of the standard illuminants of white light.
xd and yd are the CIE coordinates of the dominant wavelength.