Table of common named-colors to RGB-numbers?

Is there any lua-table/file available where you can get the (r,g,b) for common named-colors, like red, light-yellow, purple, etc.?

Thanks, Frank. [import]uid: 8093 topic_id: 2125 reply_id: 302125[/import]

I found the desired color-name to RGB mapping table at “http://www.w3.org/TR/SVG/types.html#ColorKeywords

Copied it into a Lua table for easy use of color-by-name:

http://gist.github.com/587464

It works for me right now … but if there are any better, more standard solutions, please let me know!
(I realize that I am not the first one trying to “solve” this issue…)

Enjoy, Frank.
[import]uid: 8093 topic_id: 2125 reply_id: 6344[/import]