Skip to contents

Prints all available color palettes. Code is based on PrettyColumns

Usage

view_all_palettes(type = "all", colorblind_friendly = FALSE)

Arguments

type

Type of color palettes to view. Either all palettes, sequential palettes, diverging palettes, or qualitative palettes. Types must be at least one of c("all", "seq", "div", "qual"). Default "all".

colorblind_friendly

Boolean whether or not to return only colorblind friendly palettes. Default FALSE.

Value

A plot of all color palettes available in the package.

Examples

view_all_palettes(type = "seq")

view_all_palettes(type = c("seq", "div"))

view_all_palettes(type = "div", colorblind_friendly = TRUE)