paletteer
paletteer copied to clipboard
Ability to create a new color palette
I'd like to be able to provide say 5 colors as hex codes as a new palette. Then I'd be able to use that new hypothetical palette with palette_dynamic()
to get the color interpolation. E.g
my_pal <- palette_new(c("red", "white", "blue"))
palette_dynamic(my_pal, n = 5)