get_nhs_colour_tints: Get's tints of the NHS identity colours

View source: R/get_nhs_colour_tints.R

get_nhs_colour_tintsR Documentation

Get's tints of the NHS identity colours

Description

This function returns tints of the NHS identity colours

Usage

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))
get_nhs_colour_tints(seq(0.0,0.8,0.2), "Blue", "Red")
get_nhs_colour_tints(seq(0.0,0.8,0.2), section = "blues")

nhs-r-community/nhsrtheme documentation built on Dec. 7, 2024, 11:29 p.m.