View source: R/other_functions.R
mixColors | R Documentation |
Returns the average color from a vector of colors
mixColors(colorVector, scaleFactor = 2, weights = NULL)
colorVector |
a vector of colors (hex or color names are all okay) |
scaleFactor |
How to scale. Typically should be left at 2 |
return_type |
How to weight each color in the vector |
A hex color character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.