View source

class thx.color.Color

Available on all platforms

Utility class to parse any supported color space to Rgbxa.

Class Fields

static function addLabPalette(palette:Map<String, Lab>):Void

static function addRgbPalette(palette:Map<String, Rgb>):Void

static function parse(color:String):Rgbxa

Parse a string and returns an Rgba instance. If the string cannot be parsed it returns null.

Toggle inherited fields