Is it possible to easily determine the HSV properties of a CRGB element.

Is it possible to easily determine the HSV properties of a CRGB element. For instance, I can set leds[i] = CHSV(thishue, thissat, thisbright);

Can I then ‘get’ those values, such as:

thisbright = leds[i].val;    //  or
thishue = leds[i].hue;   // or
thissat = leds[i].sat;

Am looking at https://code.google.com/p/fastspi/wiki/CRGBreference

There is no RGB to HSV translation at the moment in the library.

(Also - the documentation and code on the github repository (http://fastled.io/code and http://fastled.io/wiki) are far more up to date and accurate)

(More accurately, I should say “not yet” - I know @Mark_Kriegsman has been looking at it - my plate has been full of lower level fires (the first of which being just getting time to work on the library, period))

No problem. I’ve added another array to store that value for now and it’s working peachy.

This has been a long standing “want” for a lot of people. Unfortunately, I don’t think the back conversion is so simple. I have scoured the internet for a reasonable way to do this and unfortunately everything requires a lot of float math which is not only computationally expensive but takes up your flash. I personally have the RGB, HUE and Brightness array for most of my projects.