mpg_pal provides the default color palette of the Max Planck Society, Germany.

mpg_pal

Format

An object of class character of length 5.

Value

A named vector of colors (HEX/HTML codes of type character).

Details

The two primary colors are at the extreme positions of mpg_pal:

  1. MPG green (at mpg_pal[1]): Defined as Pantone 328, CMYK 100/0/57/30, or RGB 17/102/86.

  2. MPG grey (at mpg_pal[5]): Defined as Pantone 427, CMYK 0/0/6/15, or RGB 221/222/214.

At mpg_pal[3], the color "white" was added to enable symmetrical color gradients. See examples and the ac and usecol functions for creating color gradients.

Author

unikn, 2022-12-11.

Examples

mpg_pal
#>     MPG green MPG green 50%         white  MPG grey 50%      MPG grey 
#>     "#116656"     "#88B2AA"       "white"     "#EEEEEA"     "#DDDED6" 
seecol(mpg_pal, main = "Colors of the Max Planck Society")  # view color palette 

demopal(mpg_pal, type = 1, main = "Using the MPG colors")


# Extended version:
mpg_pal_11 <- usecol(c(mpg_pal, "black"), n = 11)
demopal(mpg_pal_11, type = 4, seed = 1, main = "An extended MPG palette")