Is there any way in which, given a number between 0 and 16581375 (255*255*255)
to an RGB value- such as 0 at (0,0,0)
and 16581375 as (255,255,255)
?
Obviously, in addition to this, there are factors such as he ordering of RGB values, and different factors in themselves.
The reason I am asking this question is because in order to get greater resolution of a mathematical structure I need more colours (rather than just 255 shades of grey).
So, is there any way in which I can do this?