colorRangeOneColor: colorRangeOneColor

View source: R/colorTools.R

colorRangeOneColorR Documentation

colorRangeOneColor

Description

Create a range of colors from one color with different levels of lightness 50 is the brightness of the base color

Usage

colorRangeOneColor(
  nColor = 5,
  baseColor = extractColors("greyRed"),
  begin = 0,
  end = 100,
  rev = F
)

Arguments

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

Value

vector of colors in hex format

Examples

shades::swatch(colorRangeOneColor(10))


OlivierGranacher/customColors documentation built on April 4, 2022, 2:53 a.m.