Skip to main content

HslColor Methods

Methods

Equals(HslColor)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object))
FromAhsl(Double, Double, Double, Double)Creates a new HslColor from individual color component values.
FromHsl(Double, Double, Double)Creates a new HslColor from individual color component values.
GetHashCode()Gets a hashcode for this object. Hashcode is not guaranteed to be unique.
(Overrides ValueType.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
Parse(String)Parses an HSL color string.
ToHsv()Returns the HSV color model equivalent of this HSL color.
ToHsv(Double, Double, Double, Double)Converts the given HSLA color component values to their HSV color equivalent.
ToRgb()Returns the RGB color model equivalent of this HSL color.
ToRgb(Double, Double, Double, Double)Converts the given HSLA color component values to their RGB color equivalent.
ToString()Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString())
TryParse(String, HslColor)Parses an HSL color string.

See Also

Reference

HslColor Structure
Avalonia.Media Namespace