expand_palette: Expand palette

Description Usage Arguments Value

View source: R/expand_palette.R

Description

Inputs a color palette (vector) and expands the colors by repeating them in gradually lighter shades

Usage

1
expand_palette(palette, amount = 0.2)

Arguments

palette

A color palette (vector of hex colors) to be expanded

amount

Amount of brightening of colors in palette (0 to 1)

Value

An expanded color palette


borstell/ggsu documentation built on Dec. 19, 2021, 10:49 a.m.