rd_4_color_conversion {barsurf}R Documentation

Color Conversion

Description

Convert a color vector from RGB space to HCL space, or vice versa.

Usage

rgb2hcl (colv)
hcl2rgb (colv, correction)

Arguments

colv

A vector of RGB or HCL values.

correction

Correct the RGB values, if they're outside the interval [0, 1].

Examples

rgb2hcl (c (0, 0, 1) )

[Package barsurf version 0.3.1 Index]