xyY2RGB

This utility translates CIE 1931 xyY colors into XYZ, RGB, and hex colors. (Read more.)

Enter colors, one per line, separated by spaces, commas, or tabs.

Results

Using the sRGB working space with a D65 reference white. Y values normalized against [0..100]not normalized and assumed to be in range [0..1].

# Input Normalized XYZ RGB Hex
1 1 1 1 1 1

Notes

Source code released. No rights reserved. No warranties, real or implied. Disclaimer: this has not been thoroughly tested, but seems to be reasonable. Equations and transform matrices from Bruce Lindbloom. Thanks to Christian for catching some errors in 2022. Also check out CIELab and Colorizer.