Re: [R] Current R color chart

2021-11-12 Thread Marc Schwartz via R-help
Hi Rich, You don't show the actual code that you used, and I do not use ggplot, but if you want to use RGB hex codes to define a color, you need to use '#' as a prefix for the 6 character RGB code: For example: > plot(1:10, col = "FF3030") Error in plot.xy(xy, type, ...) : invalid color

Re: [R] Current R color chart [RESOLVED]

2021-11-12 Thread Rich Shepard
On Fri, 12 Nov 2021, Avi Gross wrote: Type colors() Avi, That's really helpful. Names are more easily grokked than are hex numbers. Thanks, Rich __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see