color mixhsv - part-cw/lambdanative GitHub Wiki

(color-mixhsv c1 c2 w)

color-mixhsv mixes two colors in hsv space.

Parameter Description
c1 First color to be mixed
c2 Second color to be mixed
w Mixing weight of the two colors (0: all c1, 1: all c2)

Example

Example 1: Mix the colors red and green to get a dark yellow

> (color-mixhsv Red Green 0.5)