\Header{colors}{Color Names}
\alias{colours}{colors}
\keyword{color}{colors}
\keyword{dplot}{colors}
\keyword{sysdata}{colors}
\begin{Description}\relax
Returns the built-in color names which \R{} knows about.
\end{Description}
\begin{Usage}
\begin{verbatim}
colors()
\end{verbatim}
\end{Usage}
\begin{Details}\relax
These color names can be used with a \code{col=} specification in
graphics functions.

An even wider variety of colors can be created with primitives
\code{rgb} and \code{hsv} or the derived \code{rainbow},
\code{heat.colors}, etc.
\end{Details}
\begin{Value}
A character vector containing all the built-in color names.
\end{Value}
\begin{SeeAlso}\relax
\code{\Link{palette}} for setting the \dQuote{palette} of colors for
\code{par(col=}\emph{<num>}\code{)};
\code{\Link{rgb}}, \code{\Link{hsv}}, \code{\Link{gray}};
\code{\Link{rainbow}} for a nice example;
and \code{\Link{heat.colors}}, \code{\Link{topo.colors}} for images.

\code{\Link{col2rgb}} for translating to RGB numbers and extended
examples.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
cl <- colors()
length(cl); cl[1:20]
\end{ExampleCode}
\end{Examples}

