Call or modify lisa palettes

lisa_palette(name, n, type = c("discrete", "continuous"))

Arguments

name

Name of desired palette. See names(lisa).

n

Number of colors desired.

type

Either "continuous" or "discrete". Use continuous if you want to automatically interpolate between colors.

Value

A vector of colors.

Examples

lisa_palette(name = "Prince", n = 10, type = "continuous")
#> [1] "#735BCC" "#6D56C1" "#6751B6" "#614CAC" "#5B46A1" "#554196" "#4F3C8C" #> [8] "#493781" "#433276" "#3E2D6C"
lisa_palette("PabloPicasso", 2, "discrete")
#> [1] "#CD6C74" "#566C7D"