Wish Shortcuts to more colors in XUI

asales

Expert
Licensed User
Longtime User
We have XUI.Color_Red, xui.Color_Green, xui.Color_Blue, xui.Color_Magenta, etc.
I use a lot.

Would be nice to have anothers: xui.Color_Violet, xui.Color_Teal...

It's more easy than to use a RGB or HEX color number.
 

zed

Active Member
Licensed User
For 8 bits/channel (as in JPGs for example), each R, G or B color is recorded on 8 bits, color value ranging from 0 to 255, i.e. 256 shades for red, 256 shades for green, 256 shades for blue. In total this gives 256x256x256 colors or 16 million colors.

In 16 bits there are 65536 shades for each R, G or B color. This gives 281,474 billion different colors.

That's a lot of color to add.
 
Top