darken {tinter} | R Documentation |
Darken colour.
Description
Darken colour.
Usage
darken(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
darken(tinter("blue"), 0.2)
[Package tinter version 0.1.0 Index]