ColorHelpers Class

Version 1.0.2
.NET Framework 4.7
Namespace Skybrud.Colors
Assembly Skybrud.Colors.dll
Visibility Public
Keywords Static
Inheritance Object

Static helper methods for various color calculations.

public static class ColorHelpers { }

Methods

Converts an HSL color to a RGB color.

Converts the specified HslColor to a RGB color.

Converts an instance of HslColor to an instance of RgbColor.

Returns the maximum value of a, b and c.

Returns the maximum value of a, b and c.

Returns the minimum value of a, b and c.

Returns the minimum value of a, b and c.

Parse(string) (static)

Parses the specified str into an instance of IColor.

Converts a RGB color to an HSL color.

Converts a RGB color to an HSL color.

Attempts to parse the specified str into an instance of IColor.