Selects colors from modified versions of RColorBrewer single colors palettes

Single_Color_Palette(pal_color, num_colors = NULL, seed_use = 123)

Arguments

pal_color

color palette to select (Options are: 'reds', 'blues', 'greens', 'purples', 'oranges', 'grays').

num_colors

set number of colors (max = 7).

seed_use

set seed for reproducibility (default: 123).

Value

A vector of colors

References

See RColorBrewer for more info on palettes https://CRAN.R-project.org/package=RColorBrewer

Examples

pal <- Single_Color_Palette(pal_color = "reds", num_colors = 7)
PalettePlot(pal= pal)