\Header{colorramp}{colorramp}
\keyword{color}{colorramp}
\begin{Description}\relax
Returns a function which allows to create color ramps.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{palette}] vector, defining a color palette
\end{ldescription}
\end{Arguments}
\begin{Value}
A function with a single argument n to specify the length of the
desired color ramp.
\end{Value}
\begin{Author}\relax
\end{Author}
\begin{Examples}
\begin{ExampleCode}
   RdBu11 <- c("#67001F", "#B2182B", "#D6604D", "#F4A582", "#FDDBC7",
               "#F7F7F7", "#D1E5F0", "#92C5DE", "#4393C3", "#2166AC", "#053061")
   finerGraded <- colorramp(RdBu11)(33)
   barplot(rep(1,33), col=finerGraded)
        \end{ExampleCode}
\end{Examples}

