color_mean | R Documentation |
Average colors
color_mean(x, space = c("RGB", "HSV"))
x |
Color vector |
space |
Character: RGB or HSV; space to average in |
E.D. Gennatas
## Not run:
color_mean(c("red", "blue")) |> previewcolor()
color_mean(c("red", "blue"), "HSV") |> previewcolor()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.