Converting colour names: Hex & RGB colour values...

David Bovill david.bovill at opn-technologies.com
Sun Jan 6 17:32:35 EST 2002


There are three ways of specifying a colour: name, rgb, and htm hexcolour...

How do I convert between them? I was about to write a routing to convert rgb
to html colour values, and I couldn't get around the problem of the colour
functions returning colour names instead of rgb triplets - anyway I am sure
there must be a built in technique?




More information about the use-livecode mailing list