Static variables

staticHSL:Vec3

staticHSLA:Vec4

staticHSV:Vec3

staticHSVA:Vec4

staticRGB:Vec3

staticRGBA:Vec4

statica:Float

staticb:Float

staticg:Float

statich:Float

staticr:Float

statics:Float

staticv:Float

Static methods

@:fromstaticinlinefromColor(value:Color):Color

@:fromstaticinlinefromString(value:String):Color

@:fromstaticinlinefromVec3(value:Vec3):Color

@:fromstaticinlinefromVec4(value:Vec4):Color

staticinlinehsl(h:Float, s:Float, l:Float):Color

staticinlinehsl2rgb(color:Color):Color

@:value({ a : 1.0 })staticinlinehsla(h:Float, s:Float, l:Float, a:Float = 1.0):Color

staticinlinehsv(h:Float, s:Float, v:Float):Color

staticinlinehsv2rgb(color:Color):Color

@:value({ a : 1.0 })staticinlinehsva(h:Float, s:Float, v:Float, a:Float = 1.0):Color

staticinlinehue2rgb(hue:Float):Color

staticinlinerandom():Color

staticinlinergb(r:Float, g:Float, b:Float):Color

staticinlinergb2hcv(color:Color):Color

staticinlinergb2hsl(rgb:Color):Color

staticinlinergb2hsv(color:Color):Color

staticinlinergb2srgb(rgb:Color):Color

@:value({ a : 1.0 })staticinlinergba(r:Float, g:Float, b:Float, a:Float = 1.0):Color

staticinlinesrgb2rgb(srgb:Color):Color

@:tostaticinlinetoColor(this:Int):Color

@:tostaticinlinetoString(this:Int):String

@:tostaticinlinetoVec3(this:Int):Vec3

@:tostaticinlinetoVec4(this:Int):Vec4

Variables

@:value(cast 0xff000000)@:impl@:enuminlineread onlyBlack:Color = 0xff000000

@:value(cast 0xff0000ff)@:impl@:enuminlineread onlyBlue:Color = 0xff0000ff

@:value(cast 0xff00ffff)@:impl@:enuminlineread onlyCyan:Color = 0xff00ffff

@:value(cast 0xff00ff00)@:impl@:enuminlineread onlyGreen:Color = 0xff00ff00

@:value(cast 0xffff00ff)@:impl@:enuminlineread onlyMagenta:Color = 0xffff00ff

@:value(cast 0xffffa500)@:impl@:enuminlineread onlyOrange:Color = 0xffffa500

@:value(cast 0xffffc0cb)@:impl@:enuminlineread onlyPink:Color = 0xffffc0cb

@:value(cast 0xff800080)@:impl@:enuminlineread onlyPurple:Color = 0xff800080

@:value(cast 0xffff0000)@:impl@:enuminlineread onlyRed:Color = 0xffff0000

@:value(cast 0x00000000)@:impl@:enuminlineread onlyTransparent:Color = 0x00000000

@:value(cast 0xffffffff)@:impl@:enuminlineread onlyWhite:Color = 0xffffffff

@:value(cast 0xffffff00)@:impl@:enuminlineread onlyYellow:Color = 0xffffff00