class quick_haxe.Colour

Available on all platforms

A collection of static methods for handling colours

Class Fields

static function getBlue(colour:Int):Int

Get the blue compont of a colour

colour

The colour to return the blue part of

returns

The blue value, 0 to 255

static function getGreen(colour:Int):Int

Get the green compont of a colour

colour

The colour to return the green part of

returns

The green value, 0 to 255

static function getRed(colour:Int):Int

Get the red compont of a colour

colour

The colour to return the red part of

returns

The red value, 0 to 255

static function random():Int

Generate a random colour