Equivalence of Color names to RGB

MisterX b.xavier at internet.lu
Sun Jul 4 11:47:16 EDT 2004


maybe RR fixed the reverse lookup without telling us... ;)

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dar Scott
> Sent: Sunday, July 04, 2004 16:57
> To: How to use Revolution
> Subject: Re: Equivalence of Color names to RGB
> 
> 
> 
> On Jul 3, 2004, at 10:50 PM, MisterX wrote:
> 
> > That's interesting! Here's what i wrote up some time ago
> >
> > -- LUT = lookupTable
> > local rclut,rgblut
> > on generateLUTs
> > put the colornames into colorslist
> > repeat for each line c in colorslist
> >   set the backcolor of btn 1 to c
> >   get the backcolor of btn 1
> >   put it into clut[c]
> >   put c&tab&it & cr after rgblut
> > end repeat
> 
> Arg!
> 
> I thought about that, and ran a quick test, but got the color name 
> again.  I must have done something wrong.
> 
> Dar
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list