mean_col | R Documentation |
mean_col()
computes an average color.
mean_col(...)
... |
Colors to average |
We currently compute an average color by using the quadratic mean of the colors' RGBA values.
A color string of 9 characters: "#"
followed by the
red, blue, green, and alpha values in hexadecimal.
mean_col("black", "white")
mean_col(c("black", "white"))
mean_col("red", "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.