ColorExtensions.Mix Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Mix(Color, Color, Single)

Mix two colors. Replicating the Mix function in SASS

public static Color Mix(this Color color1, Color color2, float weight = 50F)

Parameters

color1
System.Drawing.Color
color2
System.Drawing.Color
weight
System.Single

Returns

System.Drawing.Color