Description Usage Arguments Value Examples
Returns a single channel value.
1 | chroma_get(color, channel)
|
color |
Hexadecimal string or a name for color. |
channel |
Channel desired, for example |
a single numeric value
1 2 3 4 5 | chroma_get("#1D9A6C", "hsl.h")
chroma_get("hotpink", "hsl.h")
# vectorized over color
chroma_get(c("hotpink", "steelblue"), "rgb.g")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.