--- title: "Colour Palettes" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Colour Palettes} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} 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. ```{r setup, echo = FALSE, message = FALSE} 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") } ```