pal_flatui: Flat UI color palettes

View source: R/discrete-flatui.R

pal_flatuiR Documentation

Flat UI color palettes

Description

Color palettes inspired by the Flat UI colors.

Usage

pal_flatui(palette = c("default", "flattastic", "aussie"), alpha = 1)

Arguments

palette

Palette type. Currently there are three available options:

  • "default" (10-color palette).

  • "flattastic" (12-color palette).

  • "aussie" (10-color palette).

alpha

Transparency level, a real number in (0, 1]. See alpha in grDevices::rgb() for details.

Author(s)

Clara Jégousse | cat3@hi.is

Examples

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))

ggsci documentation built on June 22, 2024, 10:29 a.m.