Learn R Programming

ggsci (version 3.2.0)

pal_uchicago: The University of Chicago color palettes

Description

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

References

https://news.uchicago.edu/sites/default/files/attachments/_uchicago.identity.guidelines.pdf

Examples

Run this code
library("scales")
show_col(pal_uchicago("default")(9))
show_col(pal_uchicago("light")(9))
show_col(pal_uchicago("dark")(9))

Run the code above in your browser using DataLab