Access/interpolate from one of the menu of KU palettes
ku_pal(palette = "full", reverse = FALSE, ...)
character vector. See ku_palettes
.
boolean. Indicates whether to reverse the order.
Additional arguments to pass to colorRampPalette()
a function taking a number of colors and returning a palette
if (interactive()) {
my_palette <- ku_pal("div_red_blue")
my_palette(8)
show_colors_with_names(my_palette(7), ncol = 1)
}