Mixes two colors.
Both the weight and the relative opacity of each color determines how much of each color is in the result.
weight
First color to mix
Second color to mix.
A number between 0 and 1. A larger weight indicates that more of color1 should be used, and a smaller weight indicates that more of color2 should be used.
0
1
color1
color2
Mixed color.
Generated using TypeDoc
Mixes two colors.
Both the
weight
and the relative opacity of each color determines how much of each color is in the result.