Support and General Use > Theming and Appearance Customization

Question about RGB scales

(1/1)

Didgeridoohan:
Why is it that when you change back and foreground colours the scales aren't in a standard RGB scale? R goes from 0 to 31, G - 0 to 63 and B - 0 to 31. Standard RGB is 0 to 255... And on a sidenote, the (sometimes very useful) HEX value is displayed as the RGB.

I'm just curios about if there is a reason behind it...

rasher:
That's because your screen is not 24-bit, but 16 (iirc). So the colour-slider is simply showing you the colours that are available on your platform.

Didgeridoohan:
Ok... That makes some kind of sense.

Llorean:
Though 31, 63, 31 is equivalent to 255, 255, 255. As you'll note if you watch the hex value, it's essentially skipping to preset RGB values that line up with the actual screen values so you know what the RGB code for that color is, in case you want to use it on your PC while making a WPS or whatever.

Didgeridoohan:
Did some reading up on RGB values, and now it makes perfect sense! Thank you very much for your answers.

Navigation

[0] Message Index

Go to full version