IColor Interface

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

Interface representing a color as described by a color model - eg. RgbColor or HslColor.

public interface IColor { }

Methods

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

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

Converts the color to an instance of CmyColor.

Converts the color to an instance of CmykColor.

Returns the CSS representation of the color, or null if the CSS specification doesn't support the color model.

Returns the HEX representation of the color.

Converts the color to an instance of HslColor.

Converts the color to an instance of RgbColor.