Makes any text in the element appear in the specified color. The "color" string follows CSS conventions (most common names such as “red”, “blue”, … are valid)

Note: if you want to change the background color of an element (say, a Canvas element) use [js].settings.css(“background”, color)[/js] where color is the name of a color (e.g. "green")


[js highlight=”4″ try=”true”]
newText(“warnning”, “NOTE: this text is a warning!”)

Prints a text in boldface, italic and red.