This function gets the colours as defined by the NHS Identity

get_nhs_colours(..., section = NULL)

Arguments

...

optional names of the colours to return

section

optional, name of the colour sections to use

Value

named vector of hexadecimal strings of colours

Examples

get_nhs_colours()
#>   DarkBlue       Blue BrightBlue  LightBlue   AquaBlue      Black   DarkGrey 
#>  "#003087"  "#005EB8"  "#0072CE"  "#41B6E6"  "#00A9CE"  "#231f20"  "#425563" 
#>    MidGrey   PaleGrey  DarkGreen      Green LightGreen  AquaGreen     Purple 
#>  "#768692"  "#E8EDEE"  "#006747"  "#009639"  "#78BE20"  "#00A499"  "#330072" 
#>   DarkPink       Pink    DarkRed        Red     Orange WarmYellow     Yellow 
#>  "#7C2855"  "#AE2573"  "#8A1538"  "#DA291C"  "#ED8B00"  "#FFB81C"  "#FAE100" 
get_nhs_colours("Blue")
#>      Blue 
#> "#005EB8" 
get_nhs_colours("Blue", "Red")
#>      Blue       Red 
#> "#005EB8" "#DA291C" 
get_nhs_colours(section = "blues")
#>   DarkBlue       Blue BrightBlue  LightBlue   AquaBlue 
#>  "#003087"  "#005EB8"  "#0072CE"  "#41B6E6"  "#00A9CE"