...what the function (if any) is for calculating green red and blue colors?<br /><br />For instance I have a stylesheet in green and I want to convert it in red with exactly the same color variations. I know that each color is RGB 0-255, 0-255, 0-255 and presented in Hex. This in effect can create a number from 0-16,777,215.<br /><br />What I am looking for is if I have a color and say for argument's sake that it is 45733. Then if I add to this X numbers it will come to the opposite side of the spectrum. Hence I can convert the blue to red the red to green and the green to blue easily.<br /><br />Alternatively is there a tool that will do such a thing?
_________________________
Nikos