get_uol_palette_mono: Monochromatic colour palette

Description Usage Arguments Details Value See Also Examples

View source: R/palettes.R

Description

get_uol_palette_mono() return a monochromatic palette of colours following the University of Leicester visual identity guidelines. It is possible to select the colour and the number of values on the same monochromatic scale.

Usage

1
2
3
4
5
get_uol_palette_mono(
  colour = c("blue", "grey", "brown", "pink", "yellow", "green", "red", "purple",
    "lightblue", "orange", "brightgreen"),
  n = 3
)

Arguments

colour

A vector of colour names. See uol_colours for a list of possible colours.

n

Number of colours for the desired palette. Defaults to 3.

Details

It is recommended to use not more than n = 3 colours, as in that case additional colours are picked by interpolation.

Value

A vector of colours, in HEX format.

See Also

Other get palettes: get_uol_palette_manual(), get_uol_palette()

Examples

1
2
3
get_uol_palette_mono()
get_uol_palette_mono(colour = "blue")
get_uol_palette_mono(colour = "red", n = 2)

ellessenne/uolvid documentation built on July 19, 2020, 8:37 a.m.