Description Usage Arguments Value
col.mean()
takes two hex colors and two sets of weights to give the average color
The direct method gives the rgb average, whereas the indirect method gives the hsv average
by finding the shortest angle needed to be traversed by the hue parameter
1 |
col1 |
first hex color |
w1 |
weight to give first hex color (w1 + w2 = 1) |
w2 |
weight to give second hex color (w1 + w2 = 1) |
direct |
if TRUE, will get the rgb average. If FALSE will give the hsv average |
col1 |
second hex color |
new hex color
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.