NVGHSL

NanoVega A-HSL color

Constructors

this
this(float ah, float as, float al, float aa)

Members

Static functions

fromColor
NVGHSL fromColor(NVGColor c, bool useWeightedLightness)

Converts an RGB color into an HSL triplet. * useWeightedLightness will try to get a better value for luminosity for the human eye, * which is more sensitive to green than red and more to red than blue. * If it is false, it just does average of the rgb.

Variables

a
float a;

See Also

Meta