Module

Color.Blending

#BlendMode

#blend

blend :: BlendMode -> Color -> Color -> Color

Blend two colors with a specified blend mode. The first color is the background color, the second one is the foreground color. The resulting alpha value is calculated as arithmetic mean.

Modules