our_colours: Extract hexcodes for our colours

Description Usage Arguments Value Functions See Also Examples

Description

Returns a named vecotr of hexcodes for the specified colours. Method from https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2.

Usage

1
2
3

Arguments

...

colour names in a comma separated or vector of strings

Value

returns a named vector of hexcodes for the specified colours. If a colour is not in our_colours_raw will have NA in that position and returns a warning message.

Functions

See Also

Other access our colours: our_palettes, our_scale

Examples

1
2
3
4
5
 our_colours_raw
 our_colours()
 our_colours('green', 'blue', 'green')
 our_colours('not a colour', 'also not a colour', 'green')
 our_colors('blue')

PeterGrahamJersey/mybizR-style documentation built on July 7, 2019, 2:19 p.m.