Description Usage Arguments Value See Also Examples
Access our colour palettes as hexcodes
1 | our_palettes(palette = NA, n = NA, reverse = FALSE)
|
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? |
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
Other access our colours: our_colours
,
our_scale
1 2 3 4 5 | our_palettes()
our_palettes('default')
our_palettes('default', reverse = TRUE)
our_palettes('default', 10)
our_palettes('default', 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.