Description Usage Arguments Value Examples
View source: R/make.pallete.contrast.R
Add contrast to a color palette
1 | make.pallete.contrast(vecol, contrast = 1, raw = F)
|
vecol |
A vector of colors |
contrast |
Interger with the number of iterations of contrast desired |
raw |
Logical. Do you want the raw colors or the pallete function? |
A colorRampPallete object with the desired contast if any
1 | make.pallete.contrast(c("red","orange","yellow","green","blue"), contrast=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.