dm_set_colors()
worksCode
dm_nycflights_small() %>% dm_set_colors(!!!colset) %>% dm_get_colors()
Output
default #00FF00FF #0000FFFF default default
"airlines" "airports" "flights" "planes" "weather"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.