HslColor.Darken method

Version 1.0.2
.NET Framework 4.7
Namespace Skybrud.Colors
Assembly Skybrud.Colors.dll

Darken(float)

Virtual

Increases the darkness of the color based on the specified percent.

public virtual IColor Darken(float percent)

Parameters

percent Single

The amount of darkness (specified in percent) that should be added to the color.

Returns

A new instance of IColor.