I have a requirement to display a particular colour representation dependant upon data. At one end of the scale is green and the other red. The scale should cover the colours in between.
I am comfortable with the actual programming, but unsure of how to scale the rgb colours. Does anybody know any scales for this sort of thing?
Thanks.
The following method should work for you :