\HeaderA{colors}{Color Names}{colors}
\aliasA{colours}{colors}{colours}
\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()
colours()
\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{\LinkA{palette}{palette}} for setting the \dQuote{palette} of colors for
\code{par(col=}\emph{<num>}\code{)};
\code{\LinkA{rgb}{rgb}}, \code{\LinkA{hsv}{hsv}}, \code{\LinkA{hcl}{hcl}}, \code{\LinkA{gray}{gray}};
\code{\LinkA{rainbow}{rainbow}} for a nice example;
and \code{\LinkA{heat.colors}{heat.colors}}, \code{\LinkA{topo.colors}{topo.colors}} for images.

\code{\LinkA{col2rgb}{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}

