This function displays the built-in colors.
show.colors(type=c("singles", "shades", "gray"), order.cols=TRUE)
type of display - single, multiple or gray shades
Arrange colors in order
A plot of colors for which there is a single shade (type = "single"), multiple shades (type = "multiple"), or gray shades (type = "gray")
# NOT RUN { require(MASS) show.colors() # }
Run the code above in your browser using DataCamp Workspace