standard.color
description
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)
syntax
getX(ELEMENT_NAME).color(color)
-
color
:
example(s)
@
@newText("warnning", "NOTE: this text is a warning!")
@ .bold()
@ .italic()
$ .color("red")
@ .print()
- Prints a text in boldface, italic and red.