Skip to contents

A named character vector providing hex colour codes for different UK political parties.

Usage

party_palette

Format

A named character vector of length 16:

Names

Party abbreviations (e.g., "con" for Conservative, "lab" for Labour, "ld" for Liberal Democrats, etc.).

Values

Hexadecimal colour codes representing each party’s colour (e.g., "#0087DC" for Conservative, "#E4003B" for Labour, etc.).

Examples

party_palette["con"]  # Get the Conservative Party colour
#>       con 
#> "#0087DC" 
party_palette["lab"]  # Get the Labour Party colour
#>       lab 
#> "#E4003B"