MIX
Creates a new color by combining two specified colors in a given proportion.
Syntax
=MIX(color1, color2, amount)
Arguments
| Argument | Type | Description |
|---|---|---|
| color1 | Color | The first color to mix. |
| color2 | Color | The second color to mix. |
| amount | Number | The percentage amount to lighten the given color, from 0 to 1. |
Examples
=MIX("#00ff00", "#0000ff", 0.5)→#008080ff
Combines the colors #00ff00 and #0000ff in equal parts.
=MIX("#00ff00", "#0000ff", 0.1)→#001ae6ff
Creates a color by blending 10% of the color #00ff00 and 90% of the color #0000ff.
Updated over 1 year ago