palette_material: Material design color palette

View source: R/scale_color_material.R

palette_materialR Documentation

Material design color palette

Description

The palette based on material design colors.

Usage

palette_material(palette = "contrast", reverse = FALSE, ...)

Arguments

palette

Character name of palette. Depending on the color scale, can be "full", "ice", "rainbow", "complement", "contrast", "light" (for dark themes), "black_first", full_original, or black_first_original.

reverse

Boolean indicating whether the palette should be reversed.

...

Additional arguments to pass to colorRampPalette().

Details

This function is usually not called directly, but from within scale_color_material().


see documentation built on Sept. 11, 2024, 5:51 p.m.