Skip to contents

Palettes consistent with The University of Warwick's brand.

Usage

warwick_palettes

warwick_palettes_discrete

warwick_palettes_sequential

warwick_palettes_divergent

Format

warwick_palettes

An object of class palettes_palette with 6 colour palettes.

warwick_palettes_discrete

An object of class palettes_palette with 1 discrete colour palettes.

warwick_palettes_sequential

An object of class palettes_palette with 3 sequential colour palettes.

warwick_palettes_divergent

An object of class palettes_palette with 2 sequential colour palettes.

Details

For more information on the University of Warwick's brand colours, see https://warwick.ac.uk/about/brand/brand-guidelines/colours/.

The primary palette is a combination of the primary brand colour (aubergine) and the five bright accent colours. These are the colours that the brand team uses for the graphs in their PowerPoint template.

The three sequential palettes run between the bright colour and its 30% tint.

Since the primary Warwick brand aubergine is much darker than the bright accent colours, it was too strong as a starting point for the aubergine side of the divergent palettes. To achieve a better balance, aubergine_ruby starts with an 80% tint of the primary aubergine, and aubergine_teal starts with a 70% tint.

Author

Ella Kaye

Examples

# Get all palettes by name
names(warwick_palettes)
#> [1] "primary"        "aubergine"      "teal"           "ruby"          
#> [5] "aubergine_ruby" "aubergine_teal"

# Plot a specific palette
plot(warwick_palettes$primary)


# Subset a palette
warwick_palettes$primary[c(1, 3, 5)]
#> <palettes_colour[3]>
#>  #3C1053
#>  #CB333B
#>  #E87722

#' # Plot all palettes
if (FALSE) {
plot(warwick_palettes)
}