Palettes consistent with The University of Warwick's brand.
Usage
warwick_palettes
warwick_palettes_discrete
warwick_palettes_sequential
warwick_palettes_divergent
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.
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)
}