Hi list,

I have a query about MapInfo and it's color scheme...

In the mapbasic def file, you have a line such as

Define RED      16711680

What is that number? It's not RGB because Red comes up
as 255,0,0 -> what is the number and how do you
convert that to RGB? I have seen some code that says
you must take the number 16711680 \ 256 ^ 2 Mod 256
for Red and 16711680 \ 256 ^ 1 Mod 256 for Blue and so
on...can anyone clarify this issue for me please?

And can this number be converted to HEX color codes?

Regards
Ben

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3747

Reply via email to