HslaColor

HslaColor class

Class for representing HSLA color (Hue, Saturation, Lightness, Alpha)

The HslaColor type exposes the following members:

Constructors

Name Description
HslaColor(h, s, l, a) Initializes a new instance of the HslaColor class

Properties

Name Description
H Hue [0, 360]
S Saturation [0, 100]
L Lightness [0, 100]
a Alpha (opacity) [0.0f, 1.0f]

Methods

Name Description
convert_hsla_to_rgba(hsla_color) Uses https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB

See Also