Constructor

inline new (hue:Float, saturation:Float, value:Float)

Variables

h:Float

hue

s:Float

saturation

v:Float

value (brightness)

Methods

inline getBlue ():Float

inline getBrightness ():Float

inline getGreen ():Float

inline getHue ():Float

inline getRed ():Float

inline getSaturation ():Float

inline toHsv ():HsvColor

inline toHsvWithAlpha (alpha:Float):AhsvColor

inline toRgb ():RgbColor

inline toRgbCssString ():String

inline toRgbHexString ():String

inline toRgbInt ():Int

inline toRgbWithAlpha (alpha:Float):ArgbColor

Static methods

staticfromRgb (r:Float, g:Float, b:Float, hueIndex:Int = 0):HsvColor

statichsvToRgbInt (h:Float, s:Float, v:Float):Int

staticinline of (color:Int, hueIndex:Int = 0):HsvColor