our_palettes: Access our colour palettes as hexcodes

Description Usage Arguments Value See Also Examples

Description

Access our colour palettes as hexcodes

Usage

1
our_palettes(palette = NA, n = NA, reverse = FALSE)

Arguments

palette

which palette should be accessed, should match a name from our_palettes_raw

n

number of colours to generate from palette

reverse

should the order of colours be reversed?

Value

If palette is NA, return the raw palette data. If n is NA, return the hexcodes of colours in the data, otherwise return n colours interpolated from the chosen palette

See Also

Other access our colours: our_colours, our_scale

Examples

1
2
3
4
5
 our_palettes()
 our_palettes('default')
 our_palettes('default', reverse = TRUE)
 our_palettes('default', 10)
 our_palettes('default', 2)

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