View source: R/colour_palettes.R
academic_colour_palette | R Documentation |
Return either a specific colour palette or all colour palettes offered by
AcademicThemes
.
academic_colour_palette(palette = NA, n = NA)
palette |
A string containing the name of the palette to be returned. If no name is given then all palettes are returned instead. |
n |
A number indicating how many different colours should be included in the palette. If not specified only the specific colours in the palette will be returned. |
A single vector or a list of vectors containing HEX codes for academic colour palettes.
# Get the colour palette used by the UKRI
academic_colour_palette("ukri_mrc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.