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
Examples
# Get the color names
cl <- colors()
length(cl); cl[1:20]