View source: R/palette_accessibility.R
compare_palettes | R Documentation |
Compare multiple Van Gogh palettes in a facet-style visualization
compare_palettes(
palettes,
show_hex = TRUE,
colorblind = FALSE,
type = "discrete",
n = NULL
)
palettes |
Character vector of palette names |
show_hex |
Logical: display hex codes |
colorblind |
Logical: simulate colorblind view |
type |
"discrete" or "continuous" |
n |
Number of colors for continuous palettes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.