RGBToXY is a color conversion tool that can be used to convert any RGB value into it's nearest corresponding XY value. The XY value can be used to set custom colors for your Philips Hue lights when connecting to the Hue API. These XY values are meant to work specifically with the 'LCT007' model (for now).