library(RpalettePkg)
library(here)
current_dir <- here()
palette_file_path <- file.path(current_dir,"demos/data/my_palette.rds")
palette_colors <- RpalettePkg::read_palette(palette_path = palette_file_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.