Up

_colorNewS

_colorNewS creates a new Color object from a litteral string. This object should be destroyed when it is no longer needed. If GTK+ 3.x is used, there is a compatibility with the CSS3 format.

Prototype : fun [Chn S] ObjColor

See also

Example

typeof color = ObjColor;;

fun main ()=
	_showconsole;
	
	set color = _colorNewS _channel "#FFFF00"; // yellow
	...
	0;;