Learn R Programming

tinter (version 0.1.0)

lighten: 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

Run this code
# NOT RUN {
lighten(tinter("blue"), 0.2)
# }

Run the code above in your browser using DataLab