Transforms rgb to hcl, sets non-missing arguments and then backtransforms
to rgb.
col2hcl(colour, h = NULL, c = NULL, l = NULL, alpha = NULL)
Arguments
colour |
character vector of colours to be modified |
h |
Hue, [0, 360] |
c |
Chroma, [0, 100] |
l |
Luminance, [0, 100] |
alpha |
Alpha, [0, 1] . |
Examples