colors
Get Color Names

Description

Retrieves all of the color names that the device supports.

Usage

colors()
Value
returns an unnamed character vector containing the known color names, such as "red", "blue", "green", and so on.
Note
colors and colours are two names for the same function.
See Also
colorRamp.
Examples
# Get the color names
cl <- colors()
length(cl); cl[1:20]
Package grDevices version 6.0.0-69
Package Index