Fixe saturation at 100% and light at 50%.
Usage
Brighten(color.col = NULL, alpha.bln = FALSE)
Arguments
- color.col
<character or numeric>: color in any format.
- alpha.bln
<logical>: whether the alpha layer should be returned. (Default FALSE)
Value
An integer vector of the color's rgb code.
Examples
Brighten("#ebb0107f",alpha.bln=TRUE)
#> [1] "#ffba007f"