This page provides a (necessarily incomplete) collection of color-related resources.
More recent publications that are geared to the needs of aspiring data scientists include:
Data Visualization. A practical introduction (by Kieran Healy) is beautiful, informative, and elegant.
Fundamentals of Data Visualization (by Claus O. Wilke) provides many instructive examples and helps distinguishing good from ugly graphs.
R Graphics Cookbook (by Winston Chang) provides hands-on advice on using ggplot2 and many useful recipes for data transformation.
Data visualization principles (by Rafael A. Irizarry)
Data visualization: Basic principles (by Peter Aldhous)
D.7.2 Color resources in R
Base R colors
The grDevices component of R comes with many options and tools for selecting and modifying colors:
demo("colors")in the Console to view the in-built colors of R.
colors in R cheatsheetto find many collections of these colors.
See the CRAN task view: Graphic displays, dynamic graphics, graphic devices & visualization for background information and many pointers to additional resources.
Recent color developments in R
For recent color developments in R (as of 2020), see the following posts on the R developer blog:
palette()for R (by Achim Zeileis, Paul Murrell, Martin Maechler & Deepayan Sarkar, 2019-11-21)
HCL-based color palettes in grDevices (by Achim Zeileis & Paul Murrell, 2019-04-01)
A sound introduction to the ideas behind colorspace package is provided by the article colorspace: A toolbox for manipulating and assessing colors and palettes (Zeileis et al., 2020). The colorspace documentation also provides links to additional resources.