paletteer icon indicating copy to clipboard operation
paletteer copied to clipboard

Ability to create a new color palette

Open JosiahParry opened this issue 10 months ago • 4 comments

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)

JosiahParry avatar Apr 18 '24 12:04 JosiahParry