View source: R/discrete-flatui.R
pal_flatui | R Documentation |
Color palettes inspired by the Flat UI colors.
pal_flatui(palette = c("default", "flattastic", "aussie"), alpha = 1)
palette |
Palette type. Currently there are three available options:
|
alpha |
Transparency level, a real number in (0, 1].
See |
Clara Jégousse | cat3@hi.is
library("scales")
show_col(pal_flatui("default")(10))
show_col(pal_flatui("flattastic")(12))
show_col(pal_flatui("aussie")(10))
show_col(pal_flatui("aussie", alpha = 0.6)(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.