Description Usage Arguments Value Examples
Mixes two colors
1 2 3 4 5 6 | chroma_mix(
color1,
color2,
ratio = 0.5,
mode = c("rgb", "hsl", "lab", "lrgb", "lch")
)
|
color1 |
Hexadecimal string or a name for color one. |
color2 |
Hexadecimal string or a name for color two. |
ratio |
A value between 0 and 1. |
mode |
Color space used for interpolation. |
A hexadecimal string
1 2 3 4 5 | chroma_mix("red", "blue")
chroma_mix("red", "blue", ratio = 0.75)
chroma_mix("red", "blue", mode = "lab")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.