pal_uchicago: The University of Chicago color palettes

View source: R/discrete-uchicago.R

pal_uchicagoR Documentation

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

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

References

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

Examples

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

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