col2hcl

0th

Percentile

Modify standard R colour in hcl colour space.

Transforms rgb to hcl, sets non-missing arguments and then backtransforms to rgb.

Usage
col2hcl(colour, h, c, l, alpha = 1)
Arguments
colour
character vector of colours to be modified
h
new hue
l
new luminance
c
new chroma
alpha
alpha value. Defaults to 1.
Aliases
  • col2hcl
Examples
col2hcl(colors())
Documentation reproduced from package scales, version 0.2.1, License: MIT

Community examples

Looks like there are no examples yet.