Description Usage Arguments Value Examples
Change lightness of a color
1 2 3 | chroma_brighten(color, value = 1)
chroma_darken(color, value = 1)
|
color |
Hexadecimal string or a name for color. |
value |
Value for brighten / darken. |
Hexadecimal string
1 2 3 4 5 6 7 8 9 10 | chroma_brighten("#75b8d1")
chroma_darken("#75b8d1")
view_cols(c(
chroma_darken("#75b8d1", 2),
chroma_darken("#75b8d1"),
"#75b8d1",
chroma_brighten("#75b8d1"),
chroma_brighten("#75b8d1", 2)
))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.