/umupalette-R

R package proividing palettes generated from Umea University's three different color palettes defined in their visual identity. See https://www.aurora.umu.se/en/service-and-support/advice-and-guidelines/communication/visual-identity/ .

Primary LanguageROtherNOASSERTION

umupalette

R package providing color palettes from Umea University's color identity. See https://www.aurora.umu.se/en/service-and-support/advice-and-guidelines/communication/visual-identity/.

Code inspired by the very nice wesanderson package (GitHub).

Note

Please read the university's guide lines before using the visual identity.

Installation GitHub

To install the package from GitHub make sure you have devtools installed, otherwise run

install.packages("devtools")

Then run

library(devtools)
install_github("https://github.com/fileds/umupalette-R")

Usage

To use the color palettes run

library(umupalette)
# Original palette
pal <- umu_palette()

# Light palette
pal <- umu_palette(name = "light")

# Light palette
pal <- umu_palette(name = "dark")

pal is now a vector of four colors from the palette. See package documentation for more information.

Palettes

These are the available palettes

Original

alt text umu_palette("original")

Light

alt text umu_palette("light")

Dark

alt text umu_palette("dark")