view_all_palettes {PrettyCols}R Documentation

Prints all available colour palettes

Description

Prints all available colour palettes

Usage

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

Arguments

type

Type of colour 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".

colourblind_friendly

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

Value

A plot of all colour palettes available in the package.

Examples

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

[Package PrettyCols version 1.1.0 Index]