| rainbow2 | R Documentation |
Simple rainbow palette replacement using variable saturation and vibrance
rainbow2(n, s = c(0.9, 0.7, 0.88, 0.55), v = c(0.92, 1, 0.85, 0.94), ...)
n |
|
s, v |
|
... |
additional arguments are passed to
|
character vector of R colors.
Other jam color functions:
alpha2col(),
applyCLrange(),
col2alpha(),
col2hcl(),
col2hsl(),
col2hsv(),
color2gradient(),
fixYellow(),
fixYellowHue(),
getColorRamp(),
hcl2col(),
hsl2col(),
hsv2col(),
isColor(),
kable_coloring(),
makeColorDarker(),
rgb2col(),
setCLranges(),
setTextContrastColor(),
showColors(),
unalpha(),
warpRamp()
showColors(list(
`rainbow(24)`=grDevices::rainbow(24),
`rainbow2(24)`=rainbow2(24),
`rainbow2(24, rev=TRUE)`=rainbow2(24, rev=TRUE),
`rainbow2(24, start=0.5, end=0.499)`=rainbow2(24,
start=0.5, end=0.5-1e-5),
`rainbow2(24, rev=TRUE,\nstart=0.5, end=0.499)`=rainbow2(24,
rev=TRUE, start=0.5, end=0.5-1e-5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.