rd_4_color_conversion {barsurf} | R Documentation |
Convert a color vector from RGB space to HCL space, or vice versa.
rgb2hcl (colv) hcl2rgb (colv, correction)
colv |
A vector of RGB or HCL values. |
correction |
Correct the RGB values, if they're outside the interval [0, 1]. |
rgb2hcl (c (0, 0, 1) )