I want to have a button that has numbers in the range 0 … 255. I’d like the color of the button to be white when it’s zero and blue (RGB = (0,0,255)) when it is 255. How can I accomplish this? At first I tried to make it RGB = (0,0,0) in the beginning, but it will only make it black.
How can I accomplish this?
Simple linear interpolation between white (255,255,255) and blue (0,0,255) will do.