Equivalence of Color names to RGB
Dar Scott
dsc at swcp.com
Sat Jul 3 23:41:20 EDT 2004
On Jul 3, 2004, at 9:01 PM, Alejandro Tejada wrote:
> How could i convert the color names to their
> equivalent rgb triplet?
Another thought. These might meet some standard. I didn't see a
standard mentioned in the doc, but who knows? Maybe RunRev will
confess to using a standard.
Idea 3: Set the foreColor of text in a field and then look at the
htmlText. You should be able to figure out how to parse that to make a
table with all colorNames().
Idea 4: There is a color names palette in the docs and it shows the
RBG value. Maybe you can figure out how RunRev does it.
Dar Scott
More information about the use-livecode
mailing list