mean_col()
computes an average color.
mean_col(...)
Colors to average
A color string of 9 characters: "#"
followed by the
red, blue, green, and alpha values in hexadecimal.
We currently compute an average color by using the quadratic mean of the colors' RGBA values.
mean_col("black", "white")
#> [1] "#B4B4B4FF"
mean_col(c("black", "white"))
#> [1] "#B4B4B4FF"
mean_col("red", "blue")
#> [1] "#B400B4FF"