R/utilities.R
random_color.Rd
Randomly chooses single or multiple built-in color names which R knows about. See more at grDevices::colors()
grDevices::colors()
random_color(n = 1, distinct = FALSE)
The number of color names. Defaults to 1.
Logical indicating if the colors returned should all be distinct. Defaults to FALSE.
FALSE
A character vector of color names
library(pliman) random_color(n = 3)