powered by
Available package/palette combinations are available in the data.frame palettes_dynamic_names.
palettes_dynamic_names
paletteer_dynamic(palette, n, direction = 1)
A vector of colors.
Name of palette as a string. Must be on the form packagename::palettename.
Number of colors desired. If omitted, returns complete palette.
Either 1 or -1. If -1 the palette will be reversed.
1
-1
paletteer_dynamic("ggthemes_solarized::green", 8) paletteer_dynamic("cartography::sand.pal", 20)
Run the code above in your browser using DataLab