col2hcl {scales} | R Documentation |
Transforms rgb to hcl, sets non-missing arguments and then backtransforms to rgb.
col2hcl(colour, h, c, l, alpha = 1)
colour |
character vector of colours to be modified |
h |
new hue |
c |
new chroma |
l |
new luminance |
alpha |
alpha value. Defaults to 1. |
col2hcl(colors())