RGB to HEX

Klaus Major klaus at major-k.de
Wed Mar 1 12:49:59 EST 2006


Hello again, Garrett .-)

> Rev 2.6.1
>
> Greetings,
>
> Is there a built-in function in Rev that will convert RGB color  
> string to a HEX color string?  If no, does anyone know how to do  
> this?  I knew how to do this in another language, but am at a loss  
> as to how to work it out in Rev.

Check the "baseconvert" command in the docs.
Pretty straightforward...

> Thanks in advance,
> -Garrett

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the Use-livecode mailing list