Closed freeubi closed 8 years ago
Yes, this is expected. The Lights don't work with HEX or RGB, and the color converter does it best to find a value that matches closest to your input. You can read more about the CIE Color Space the Hue lights use here: http://www.developers.meethue.com/documentation/core-concepts
If you download the latest NuGet packages you can choose between 3 different colorconverters and use the one you like most.
Yeah, but i save what the converter give back. Why converting its returned value again?
In your code sample you're using two different colorconverters, that might cause it:
I think i found a bug in the LightCommandExtension. Currently, i'm using like this:
I'm givin an input rgb value (0,0,48), set it to a lightCommand, convert it with the extension and save the converted value.
The problem i found: if i save the (0,0,48) rgb value as a converted hex(#4600FF) and try to iput this again, then its become a different value= (70,0,255) as (#4D00FF)