Up

_colorNew

_colorNew creates a new Color object. This object should be destroyed when it is no longer needed.

Prototype : fun [Chn I I I I] ObjColor

Note : integer value or hexadecimal value are accepted.

See also

Example

typeof color = ObjColor;;

fun main ()=
	_showconsole;
	
	set color = _colorNew _channel 65365 0xFFFF 0xFFFF; // yellow opaque
	...
	0;;