Here's something Colin had posted on the list a while back...

on inttorgb int
   b = int mod 256
   int = int / 256
   g = int mod 256
   int = int / 256
   r = int mod 256
   return rgb(r,g,b)
end

Regards,
Pranav
-----------------------------------------------------------
Samuel Colt - the inventor of the point and click interface.



<snip>
Anyone have a script to convert an integer value to RGB components??
<snip>





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to