rfl_colour: Return Colour from the RFL style (in Hexidecimal Format)

Description Usage Arguments Value Examples

View source: R/rfl_colour.R

Description

Return Colour from the RFL style (in Hexidecimal Format)

Usage

1
rfl_colour(colour, alpha = 1)

Arguments

colour

A colour in the RFL pallete (type rfl_colors() for lists).

Value

A string in Hexidecimal format for use in graphics & themes

Examples

1
2
3
ggplot(data, aes(x=xaxis, y=yaxis)) +
geom_line(colour=rfl_colour("blue"))
rfl_colour("green")

royal-free-london/RFLtheme documentation built on July 10, 2020, 8:30 a.m.