RE: Please explain colors

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

OK I understand now this is 24bit colours.
sorry to bother you all.

Tony Steward wrote:
> 
> 
> 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]
> 



Give your hardest tasks to your lasiest workers. 
They will always find the easiest way to complete it.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu