ColorChannel | R Documentation |
Extract color channel values
ColorChannel(x, k)
x |
character vector of colors. |
k |
name of a color channel (e.g. "red", "green", "blue" and "alpha" for transparency). Abbreviated names are allowed (e.g. "r", "g", "b", "a"). |
ColorChannel
returns a numeric vector.
TransformColors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.