academic_colour_palette {AcademicThemes} | 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")