lighten_palette: Make ggthemr palette lighter

lighten_paletteR Documentation

Make ggthemr palette lighter

Description

Update a ggthemr palette so that colours are lighter by some specified amount. This includes everything (background, axes lines, swatch colours, gradient etc.).

Usage

lighten_palette(amount)

Arguments

amount

value between 0 and 1 indicating by how much the colours should be darker/lighter.

Author(s)

Ciaran Tobin

Examples

ggthemr('dust')
lighten_palette(0.2)

cttobin/ggthemr documentation built on April 19, 2022, 3:31 a.m.