all_colors
combines the unikn color gradients with the
657 named colors provided by colors
of grDevices.
all_colors(distinct = TRUE)
A named vector of color values (of type character).
Boolean: Return only colors with unique values and names?
Default: distinct = TRUE
(i.e., remove duplicate values and names).
The color values returned (as a named character vector) are either HEX/HTML codes or base R color names.
The distinct
option removes colors with duplicate color values or names.