fix for #14
also added the option to use {"ColorRGB":16711680} //just an example that gives red.
so people can use (msg.payload.color.r*65536)+(msg.payload.color.g*256)+msg.payload.color.b;
for example, if they are already working with RGB values instead of a bigger rgb2hsv function.
fix for #14 also added the option to use
{"ColorRGB":16711680}
//just an example that gives red. so people can use(msg.payload.color.r*65536)+(msg.payload.color.g*256)+msg.payload.color.b;
for example, if they are already working with RGB values instead of a bigger rgb2hsv function.