Daraketh 2 Posted February 25, 2015 Share Posted February 25, 2015 Hey al I'm wondering if anyone can make a function that returns the value (hex or decimal) for each consecutive colour in the 8 bit (256 colour) range. The idea being we start at black, then move through each colour in the spectrum in order until we hit white, as demonstrated in the below image. I guess the idea is you'd set a global variable to 0, and operate on that variable to change the colour each iteration. What do you guys think? Cheers, Dara Quote Link to post Share on other sites
0 dgelessus 26 Posted February 25, 2015 Share Posted February 25, 2015 See my reply in your other thread on this topic. (Trying to keep the discussion in one place.) Quote Link to post Share on other sites
Hey al
I'm wondering if anyone can make a function that returns the value (hex or decimal) for each consecutive colour in the 8 bit (256 colour) range.
The idea being we start at black, then move through each colour in the spectrum in order until we hit white, as demonstrated in the below image.
I guess the idea is you'd set a global variable to 0, and operate on that variable to change the colour each iteration.
What do you guys think?
Cheers,
Dara
Link to post
Share on other sites