ColorExtensions.Alpha Method

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

Alpha(Color, Single)

Sets the alpha channel value for the specified color.

public static Color Alpha(this Color color, float percentage)

Parameters

color
System.Drawing.Color
percentage
System.Single

Returns

System.Drawing.Color