The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

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)

What does getX() mean?

  • color :

example(s)


@
@newText("warnning", "NOTE: this text is a warning!")
@    .bold()
@    .italic()
$    .color("red")
@    .print()
  • Prints a text in boldface, italic and red.