RGB-to-CIEXY This is a Clojure version of code from this Stackoverflow answer. Converts rgb values to the CIE 1931 color space XY coordinates that Philips Hue uses. Note that the color gamut used by the Philips Hue is a subset of the CIE color space.