This function returns tints of the NHS identity colours

get_nhs_colour_tints(tints, ..., section = NULL)

Arguments

tints

a vector of numbers between 0 and 1 for the percentage colour tint to use

...

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_colour_tints(seq(0.0,0.8,0.2))
#>    DarkBlue.0%   DarkBlue.20%   DarkBlue.40%   DarkBlue.60%   DarkBlue.80% 
#>      "#003087"      "#33599F"      "#6683B7"      "#99ACCF"      "#CCD6E7" 
#>        Blue.0%       Blue.20%       Blue.40%       Blue.60%       Blue.80% 
#>      "#005EB8"      "#337EC6"      "#669ED4"      "#99BFE3"      "#CCDFF1" 
#>  BrightBlue.0% BrightBlue.20% BrightBlue.40% BrightBlue.60% BrightBlue.80% 
#>      "#0072CE"      "#338ED8"      "#66AAE2"      "#99C7EB"      "#CCE3F5" 
#>   LightBlue.0%  LightBlue.20%  LightBlue.40%  LightBlue.60%  LightBlue.80% 
#>      "#41B6E6"      "#67C5EB"      "#8DD3F0"      "#B3E2F5"      "#D9F0FA" 
#>    AquaBlue.0%   AquaBlue.20%   AquaBlue.40%   AquaBlue.60%   AquaBlue.80% 
#>      "#00A9CE"      "#33BAD8"      "#66CBE2"      "#99DDEB"      "#CCEEF5" 
#>       Black.0%      Black.20%      Black.40%      Black.60%      Black.80% 
#>      "#231F20"      "#4F4C4D"      "#7B7979"      "#A7A5A6"      "#D3D2D2" 
#>    DarkGrey.0%   DarkGrey.20%   DarkGrey.40%   DarkGrey.60%   DarkGrey.80% 
#>      "#425563"      "#687782"      "#8E99A1"      "#B3BBC1"      "#D9DDE0" 
#>     MidGrey.0%    MidGrey.20%    MidGrey.40%    MidGrey.60%    MidGrey.80% 
#>      "#768692"      "#919EA8"      "#ADB6BE"      "#C8CFD3"      "#E4E7E9" 
#>    PaleGrey.0%   PaleGrey.20%   PaleGrey.40%   PaleGrey.60%   PaleGrey.80% 
#>      "#E8EDEE"      "#EDF1F1"      "#F1F4F5"      "#F6F8F8"      "#FAFBFC" 
#>   DarkGreen.0%  DarkGreen.20%  DarkGreen.40%  DarkGreen.60%  DarkGreen.80% 
#>      "#006747"      "#33856C"      "#66A491"      "#99C2B5"      "#CCE1DA" 
#>       Green.0%      Green.20%      Green.40%      Green.60%      Green.80% 
#>      "#009639"      "#33AB61"      "#66C088"      "#99D5B0"      "#CCEAD7" 
#>  LightGreen.0% LightGreen.20% LightGreen.40% LightGreen.60% LightGreen.80% 
#>      "#78BE20"      "#93CB4D"      "#AED879"      "#C9E5A6"      "#E4F2D2" 
#>   AquaGreen.0%  AquaGreen.20%  AquaGreen.40%  AquaGreen.60%  AquaGreen.80% 
#>      "#00A499"      "#33B6AD"      "#66C8C2"      "#99DBD6"      "#CCEDEB" 
#>      Purple.0%     Purple.20%     Purple.40%     Purple.60%     Purple.80% 
#>      "#330072"      "#5C338E"      "#8566AA"      "#AD99C7"      "#D6CCE3" 
#>    DarkPink.0%   DarkPink.20%   DarkPink.40%   DarkPink.60%   DarkPink.80% 
#>      "#7C2855"      "#965377"      "#B07E99"      "#CBA9BB"      "#E5D4DD" 
#>        Pink.0%       Pink.20%       Pink.40%       Pink.60%       Pink.80% 
#>      "#AE2573"      "#BE518F"      "#CE7CAB"      "#DFA8C7"      "#EFD3E3" 
#>     DarkRed.0%    DarkRed.20%    DarkRed.40%    DarkRed.60%    DarkRed.80% 
#>      "#8A1538"      "#A14460"      "#B97388"      "#D0A1AF"      "#E8D0D7" 
#>         Red.0%        Red.20%        Red.40%        Red.60%        Red.80% 
#>      "#DA291C"      "#E15449"      "#E97F77"      "#F0A9A4"      "#F8D4D2" 
#>      Orange.0%     Orange.20%     Orange.40%     Orange.60%     Orange.80% 
#>      "#ED8B00"      "#F1A233"      "#F4B966"      "#F8D199"      "#FBE8CC" 
#>  WarmYellow.0% WarmYellow.20% WarmYellow.40% WarmYellow.60% WarmYellow.80% 
#>      "#FFB81C"      "#FFC649"      "#FFD477"      "#FFE3A4"      "#FFF1D2" 
#>      Yellow.0%     Yellow.20%     Yellow.40%     Yellow.60%     Yellow.80% 
#>      "#FAE100"      "#FBE733"      "#FCED66"      "#FDF399"      "#FEF9CC" 
get_nhs_colour_tints(seq(0.0,0.8,0.2), "Blue", "Red")
#>   Blue.0%  Blue.20%  Blue.40%  Blue.60%  Blue.80%    Red.0%   Red.20%   Red.40% 
#> "#005EB8" "#337EC6" "#669ED4" "#99BFE3" "#CCDFF1" "#DA291C" "#E15449" "#E97F77" 
#>   Red.60%   Red.80% 
#> "#F0A9A4" "#F8D4D2" 
get_nhs_colour_tints(seq(0.0,0.8,0.2), section = "blues")
#>    DarkBlue.0%   DarkBlue.20%   DarkBlue.40%   DarkBlue.60%   DarkBlue.80% 
#>      "#003087"      "#33599F"      "#6683B7"      "#99ACCF"      "#CCD6E7" 
#>        Blue.0%       Blue.20%       Blue.40%       Blue.60%       Blue.80% 
#>      "#005EB8"      "#337EC6"      "#669ED4"      "#99BFE3"      "#CCDFF1" 
#>  BrightBlue.0% BrightBlue.20% BrightBlue.40% BrightBlue.60% BrightBlue.80% 
#>      "#0072CE"      "#338ED8"      "#66AAE2"      "#99C7EB"      "#CCE3F5" 
#>   LightBlue.0%  LightBlue.20%  LightBlue.40%  LightBlue.60%  LightBlue.80% 
#>      "#41B6E6"      "#67C5EB"      "#8DD3F0"      "#B3E2F5"      "#D9F0FA" 
#>    AquaBlue.0%   AquaBlue.20%   AquaBlue.40%   AquaBlue.60%   AquaBlue.80% 
#>      "#00A9CE"      "#33BAD8"      "#66CBE2"      "#99DDEB"      "#CCEEF5"