Sam:

Do you mean RGB color codes?  You can figure these out by mixing reds,
greens, and blues.  

You pick three values between 0 and 255, one (we'll call R) for red,
one (G) for green, one (B) for blue.  

You can then calculate the color code as 65536*R+256*G+B

You can play around with the codes by going to any style picker, selecting
the color dropdown, then selecting the little "..." cell in the
lower-right-hand corner of the palette that appears.

Shades of gray will have an equal amount of red, green, and blue. (If you're
using HSV, the hue will be around 128). 

So, one gray would be 128*65536+128*256+111=8421504
You can use the distributive property to show that a shade of gray is
a multiple of 65793.

The standard light gray in the MapInbfo palette is 12632256. 
The standard dark gray is 8421504.

Oranges will have about twice as much red as green, and no blue (or, with
HSV, a hue of about 20).

Thus, 254*65536+127*256=16678656

"Pure" oranges will be a multiple of 131328, but the best orange appearing
in the standard MapInfo color palette is 16744448.

If oranges get too dark, however, they will turn into something called
"brown".  Divide either of the "orange" codes you see above by 2 and you'll
get shades of brown.

Hope this helps
Spencer


-----Original Message-----
From: Sam Shelley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 12:56 AM
To: [EMAIL PROTECTED]
Subject: MI-L MB Colour codes

Hi - would anyone know the colour codes for Grey and Orange.  Thanks in
advance.  

 

Samuel Shelley

GIS OFFICER 

FIRE MANAGEMENT UNIT

 

TASMANIA FIRE SERVICE

GPO Box 1526 
HOBART,  Tasmania
AUSTRALIA, 7001

 

(CNR ARGYLE AND MELVILLE STS, HOBART 7000)

EMAIL: [EMAIL PROTECTED]

PHONE: (03) 6230 8735

FAX: (03) 6230 6647

IF CALLING FROM OUTSIDE AUSTRALIA REPLACE 03 WITH 613

 



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

Reply via email to