Class HslaColor

HslaColor class

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

public class HslaColor

Constructors

NameDescription
HslaColor(int, int, int, float)Constructor for HslaColor

Methods

NameDescription
static ConvertHslaToRgba(HslaColor)Uses https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB

Fields

NameDescription
AAlpha (opacity) [0.0f, 1.0f]
readonly HHue [0, 360]
readonly LLightness [0, 100]
readonly SSaturation [0, 100]

See Also