ColorExtensions.Lighten Method

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

Lighten(Color, single)

Lighten a color.

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

Parameters

color
System.Drawing.Color

The color to lighten.

percentage
single

A percentage to lighten the color (0-100%).

Returns

System.Drawing.Color