Utils.LighterBy(Color, Single) Method

Definition

Lightens the color by the given percentage.

C#
public static Windows.UI.Color LighterBy (this Windows.UI.Color color, float amount);

Parameters

color
Color

Source color.

amount
Single

Percentage to lighten. Value should be between 0 and 1.

Returns

Color

Applies to

Produit Versions
Windows Community Toolkit 7.0.0, 7.1.0