Hi

example

RGB=[R,G,B] (...[35,57,255].. whatever)

decimal value = (B*256)+(G*256*256)+(R*256*256*256)

or for programmers,... you can use sequential bit shifting...

hope this help

_______________________________________________

KOREM   (http://www.korem.com)

GEObroadcasting your information
GEOdiffusion de l'information
_______________________________________________

Best MapInfo New Partner 2000 - North America
_______________________________________________

Antoine Gilbert
Analyst - Programmer
KOREM inc.
680, boul. Charest Est
Québec (Qc)
G1K 3J4          tél.: 418 647-1555
CANADA           fax:  418 647-1666
Téléphone sans frais: 1 888 440-1MAP
_______________________________________________

----- Original Message -----
From: "Erin Rubio" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 1:35 PM
Subject: MI-L Translating MapInfo colors to hex


> Hi All,
>
> Does anyone have an algorithm that translates MapInfo colors to
> hexidecimal colors?
>
> Thanks in advance,
>
> Erin Rubio
>
> Spatial Insights, Inc.
> A Geographic Information Services Company
> 8221 Old Courthouse Road Suite 203 Vienna, VA  22182
> Tel: 703-827-7034  Fax: 703-827-7037
> Sales: 800-347-5291
> [EMAIL PROTECTED]     www.spatialinsights.com
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to