the philips hue bulb supports three different color models (temperature in mireds, hue/saturation, and cie1931).
since cie1931 is the 'native' model used by the bulb, most of the time that's the model reported by the bulb.
my naive thinking was to use d3.lab(1, cie1931.x, cie1931.y).rgb(), but this isn't right (all the colors come out very close to black).
could a color model guru point me in the direction of mapping cie1931[x,y] to one of the models supported by d3 ?
thanks!