Adds a selected amount of shade or tint to a vector of colors.
Usage
colshade(cols, frac = 0)
Value
a vector of colors with added shades or tints.
Arguments
cols
a vector of colors
frac
a vector of shade fractions (between -1 and 1, defaults to 0)
Author
Karolis Koncevičius
Details
This function adds shades and tints to provided list of colors.
Shade or tint is decided depending on the sign of the frac argument:
positive values make colors darker and negative values lighten them.