excel_new_pal: Excel (current versions) color palettes (discrete)

View source: R/excel.R

excel_new_palR Documentation

Excel (current versions) color palettes (discrete)

Description

Color palettes used by current versions of Microsoft Office and Excel.

Usage

excel_new_pal(theme = "Office Theme")

Arguments

theme

The name of the Office theme or color theme (not to be confused with ggplot2 themes) from which to derive the color palette. Available themes include: \Sexpr[results=rd]{ggthemes:::rd_optlist(names(ggthemes::ggthemes_data$excel$themes))}

See Also

Other colour excel: excel_pal(), scale_colour_excel_new(), scale_fill_excel()

Examples

library("scales")

for (i in names(ggthemes::ggthemes_data$excel$palettes)) {
  show_col(excel_new_pal(theme = i))(6)
}

ggthemes documentation built on May 29, 2024, 10:37 a.m.