Hex values for Crayola colors

David C. davidocoker at gmail.com
Sat Feb 5 17:26:49 EST 2011


On Sat, Feb 5, 2011 at 1:09 PM, Alex Tweedly <alex at tweedly.net> wrote:
>
> For RGB codes do you mean 3 comma-separated byte values, converted to 6 hex
> digits ?
>
> If so, you would use something like
>
>> put "123,55,255" into aRBG
>> put format("%02x%02x%02x", item 1 of aRGB, item 2 of aRGB, item 3 of aRGB)
>> into aHex
>
> -- Alex.

Thank you, kind sir!

Best regards,
David C.




More information about the use-livecode mailing list