RGB triplet for color names

Jim Hurley jhurley at infostations.com
Sat Mar 15 11:27:01 EST 2003


Does anyone know how to get the RGB color triplet for a given color name?

For example the Color Names window shows ForestGreen to be 34,139,34

How would I get those numbers programmatically, that is without going 
through the Color Names window?

That is

Put theRGB("ForestGreen") into theForestGreenTriplet

Or whatever.

Much appreciated,

Jim



More information about the use-livecode mailing list