smoothColors calculates a sequence of colors. If two color names
in the arguments are separated by a number, that number of interpolated
colors will be inserted between the two color endpoints. Any number of
color names and integers may be passed, but the last argument must be
a color name. If more than one integer appears between two color names,
only the first will be used in the interpolation and the others will be
ignored.
Usage
smoothColors(...,alpha=NA)
Arguments
...
an arbitrary sequence of color names and integers beginning
and ending with a color name.
alpha
optional alpha (transparency) value.
Value
A vector of hexadecimal color values as used by col.