Convert colors between colorspaces
R · r · 2.1.0
convert_colors
Source: R/convert_colors.R, man/convert_colors.Rd
Convert colors between colorspaces
Usage
Arguments
colorsA matrix of colors
fromThe colorspace of the input colors, one of "rgb", "hsl", "din99d", "lab", "xyz"
toThe colorspace of the output colors, one of "rgb", "hsl", "lab", "xyz"
Value
The colors converted to the new colorspace
