[R] RGB components of plot() colours

(Ted Harding) Ted.Harding at wlandres.net
Tue Jul 10 15:05:20 CEST 2012


A quick question:

Is there anywhere a listing of the RGB components of the
named colours listed by colors()?

For example, where would I find the RGB for "orange1"
or "salmon"?

When I look at an EPS file from R where I have used
these colours, it seems that for:

"salmon":
0.9804 0.5020 0.4471 rgb

"orange1":
1 0.6471 0 rgb

However, this is a tedious way of finding out!

With thanks,
Ted.

-------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at wlandres.net>
Date: 10-Jul-2012  Time: 14:05:15
This message was sent by XFMail



More information about the R-help mailing list