convert_colors | R Documentation |
Convert colors between colorspaces
convert_colors(colors, from, to)
colors |
A matrix of colors |
from |
The colorspace of the input colors, one of "rgb", "hsl", "din99d", "lab", "xyz" |
to |
The colorspace of the output colors, one of "rgb", "hsl", "lab", "xyz" |
The colors converted to the new colorspace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.