powered by
Darken colour.
darken(x, amount)
A vector of strings of colours in any format accepted by grDevices::col2rgb().
A number from 0 to 1.
A vector of modified colours.
# NOT RUN { darken(tinter("blue"), 0.2) # }
Run the code above in your browser using DataLab