translating a color name to RGB triplet

David Bovill david at openpartnership.net
Fri Sep 8 09:31:26 EDT 2006


There is no direct way.

So you either have to set some objects color and retrieve it (locking
the screen). Or you have to construct an array or lookup table in
advance and store this somewhere. The former works fine even if
"ugly".



More information about the use-livecode mailing list