lighten: Lighten colour.

Description Usage Arguments Value Examples

View source: R/tinter.R

Description

Lighten colour.

Usage

1
lighten(x, amount)

Arguments

x

A vector of strings of colours in any format accepted by grDevices::col2rgb().

amount

A number from 0 to 1.

Value

A vector of modified colours.

Examples

1
lighten(tinter("blue"), 0.2)

tinter documentation built on April 19, 2020, 4:15 p.m.