RGB triplet for color names

Monte Goulding monte at sweattechnologies.com
Sat Mar 15 20:20:01 EST 2003


>
>
> Does anyone know how to get the RGB color triplet for a given color name?
>
Hello Jim

Along with the various sugggestions you have already had you can use my free
libColor library. It has one public function:

libColor_Convert(pColorReference, pConvertTo, [pConvertFrom])

pConvertFrom is optional as the code can work out what type of color
reference you are using. It can convert to and from all of rev's color
formats and some others.

See sweattechnologies.com/rev for more info.

Cheers

Monte




More information about the use-livecode mailing list