lighten {tinter}R Documentation

Lighten colour.

Description

Lighten colour.

Usage

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

lighten(tinter("blue"), 0.2)

[Package tinter version 0.1.0 Index]