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

Description Usage Arguments See Also Examples

View source: R/excel.R

Description

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

Usage

1
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

1
2
3
4
5
library("scales")

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

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.