view_palette | R Documentation |
Easy way to view the created palette
view_palette(monochrome_palette, view_labels = TRUE)
monochrome_palette |
Vector of hex colour codes, or a |
view_labels |
Logical. If |
A plot showing all the colours in the palette on the same row
view_palette(c("#464E69", "#8C90A1", "#D1D2D9"))
view_palette(c("unripe" = "#89973d", "ripe" = "#e8b92f", "overripe" = "#a45e41"))
view_palette(generate_palette("pink", "go_darker", n_colours = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.