colorRangeOneColor | R Documentation |
Create a range of colors from one color with different levels of lightness 50 is the brightness of the base color
colorRangeOneColor( nColor = 5, baseColor = extractColors("greyRed"), begin = 0, end = 100, rev = F )
nColor |
number of colors |
baseColor |
Base color |
begin |
lightness value for start color |
end |
lightness value for end color |
rev |
if TRUE reverse the colors |
vector of colors in hex format
shades::swatch(colorRangeOneColor(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.