logical indicating if the colors returned should all be
distinct; e.g., "snow" and "snow1" are effectively the
same point in the \((0:255)^3\) RGB space.
Value
A character vector containing all the built-in color names.
Details
These color names can be used with a col= specification in
graphics functions.
An even wider variety of colors can be created with primitives
rgb, hsv and hcl, or the derived rainbow,
heat.colors, etc.
# NOT RUN {cl <- colors()
length(cl); cl[1:20]
length(cl. <- colors(TRUE))
## only 502 of the 657 named ones## ----------- Show all named colors and more:demo("colors")
## -----------# }