API CreateColor

Creates a ColorMixin. color = CreateColor(r, g, b [, a]) color = CreateColorFromBytes(r, g, b, a) color = CreateColorFromHexString(hexColor)

Arguments

 * CreateColor
 * r, g, b : - Values between 0 and 1.
 * a : - Value between 0 and 1, or nil to leave undefined (some methods will default to 100%).


 * CreateColorFromBytes
 * r, g, b, a : - Values between 0 and 255 (cannot omit alpha).


 * CreateColorFromHexString
 * hexColor : - Eight hexadecimal digits as AARRGGBB.

Returns

 * color : - ColorMixin