[mapguide-users] Re: Color code in layerdefinition file

Jackie Ng jumpinjackie at gmail.com
Wed Feb 24 08:29:49 EST 2010


They are hexadecimal numbers for the Alpha, Red, Green and Blue components of
a color.

These numbers range from 0 (00) to 255 (FF)

HTML colors are usually prefixed with a hash (#) and usually don't have the
alpha component, so to translate, strip the first 2 characters.

eg. FFFFFFFF -> #FFFFFF

- Jackie
-- 
View this message in context: http://n2.nabble.com/Color-code-in-layerdefinition-file-tp4625368p4625717.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list