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

David Bovill david.bovill at
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