RGB colours

David Bovill david at openpartnership.net
Tue Dec 18 14:47:01 EST 2007


I want to be able to translate between colorname and rgb tripplets. AFAIK
there is still no built in way to do this. In the past I created a lookup
array by setting the bgcolor of an object to  each of the colornames and
retrieving the bgcolor (which used to be an rgb tripplet) - now however I
get back the colorname? This seems to have changed from earlier versions?

Any ideas?



More information about the use-livecode mailing list