View source: R/base-gradients.R
gradient | R Documentation |
Hex color gradient generator
gradient(colors, n)
blueYellow(
n = 256L,
palette = c("lightPalette", "darkPalette", "draculaPalette", "macOSLightPalette",
"macOSDarkPalette", "iOSLightPalette", "iOSDarkPalette")
)
purpleOrange(
n = 256L,
palette = c("lightPalette", "darkPalette", "draculaPalette", "macOSLightPalette",
"macOSDarkPalette", "iOSLightPalette", "iOSDarkPalette")
)
colors |
|
n |
|
palette |
|
character
.
Hexadecimal colors in RGB space.
Updated 2022-03-07.
purpleOrange(n = 3L)
blueYellow(n = 3L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.