Please explain colors

new topic     » topic index » view thread      » older message » newer message

Hello everybody,
In the likes of IDE if you specify the color red it equals 255.
A particular shade of blue is 8388608.

Please explain this numbering system to me.

How do I explain in my documents to an end user how to get the number 
corrisponding to the color they would like to use.

I have an ini file the end user can edit with the following lines in it.

[snip]
  GridColorBackground = 16777215
  GridColorText = 0
  GridColorBackgroundSelect = 12615680
  GridColorTextSelect = 16777215
  GridColorInKeys = 32768
  GridColorLostDamKeys = 128
  GridColorOutKeys = 8388608
[/snip]

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu