Skip to contents

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().