Colour Palettes

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Here are the colour palettes supplied by AcademicThemes. The palettes listed here include ones that might not yet be on CRAN. To gain access to all palettes either wait from CRAN to be updated or follow the instructions at the top of the Get Started page to install the developement version.

library(AcademicThemes)

for (palette in academic_colour_palette_names()) {
  colour_palette <- academic_colour_palette(palette)
  image(1:length(colour_palette), 1, matrix(1:length(colour_palette)),
        main = paste0("Colour Palette: ", palette), xlab = "", ylab = "",
        col = colour_palette, xaxt = "n", yaxt = "n", bty = "n")
}


Try the AcademicThemes package in your browser

Any scripts or data that you put into this service are public.

AcademicThemes documentation built on May 29, 2024, 8:21 a.m.