lighten_gradient: Make ggthemr gradient lighter

lighten_gradientR Documentation

Make ggthemr gradient lighter

Description

Update a ggthemr gradient so that colours are lighter by some specified amount.

Usage

lighten_gradient(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_gradient(0.2)

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