MIX

Creates a new color by combining two specified colors in a given proportion.

Syntax

=MIX(color1, color2, amount)

Arguments

ArgumentTypeDescription
color1ColorThe first color to mix.
color2ColorThe second color to mix.
amountNumberThe 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.