dm_set_colors()
worksCode
dm_nycflights_small() %>% dm_set_colors(blue = "flights", green = "airports") %>%
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.