Generate colors from a customed color palette

scPalette2(n)

Arguments

n

number of colors to generate

Examples

scPalette2(8)
#> [1] "#E41A1C" "#377EB8" "#4DAF4A" "#984EA3" "#FF7F00" "#A65628" "#F781BF" #> [8] "#999999"
pals::pal.bands(scPalette2(20))