Return function to interpolate an Nhs theme colour palette

get_nhs_palette(palette = "main", reverse = FALSE, ...)

Arguments

palette

Character name of section in Nhs theme

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()