gov_cols.Rd
gov_cols Provides a vector of named colours from the approved gov.uk colour list available here.
gov_cols
An object of class character of length 15.
character
A list of named hexadecimal colours.
library(ggplot2) library(govstyle) library(dplyr)#> #> Attaching package: ‘dplyr’#> The following object is masked from ‘package:testthat’: #> #> matches#> The following objects are masked from ‘package:stats’: #> #> filter, lag#> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union mtcars %>% ggplot + aes( x = mpg, y = wt ) + geom_point( colour = gov_cols["green"] ) + theme_gov()