Skip to contents

Color palettes based on the colors used by the University of Chicago.

Usage

pal_uchicago(palette = c("default", "light", "dark"), alpha = 1)

Arguments

palette

Palette type. There are three available options:

  • "default" (9-color palette);

  • "light" (9-color light palette);

  • "dark" (9-color dark palette).

alpha

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

Author

Nan Xiao | me@nanx.me | https://nanx.me

Examples

library("scales")
show_col(pal_uchicago("default")(9))

show_col(pal_uchicago("light")(9))

show_col(pal_uchicago("dark")(9))