| colors {base} | R Documentation |
Returns the built-in color names which R knows about.
colors()
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 and hsv or the derived rainbow,
heat.colors, etc.
A character vector containing all the built-in color names.
palette for setting the ``palette'' of colors for
par(col=<num>);
rgb,
hsv,
gray;
rainbow for a nice example;
and heat.colors,
topo.colors for images.
str(colors())