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

David Bovill online at finsburyparkforum.org.uk
Mon Jan 7 04:17:00 EST 2002


There are three ways of specifing 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 metacard mailing list