powered by
Color palettes inspired by the Flat UI colors.
pal_flatui(palette = c("default", "flattastic", "aussie"), alpha = 1)
Palette type. Currently there are three available options:
"default" (10-color palette).
"default"
"flattastic" (12-color palette).
"flattastic"
"aussie" (10-color palette).
"aussie"
Transparency level, a real number in (0, 1]. See alpha in grDevices::rgb() for details.
alpha
grDevices::rgb()
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))
Run the code above in your browser using DataLab