Color

^do( Color, color, text )^

Type: Macro

Purpose: Adds colored text

The Color macro colors text.

Hover below to reveal BoxPress code

<span style="color: $1;">$2</span>
Deprecated
This is being replaced by the new Color macro.

Color sample

This is the markup that is rendered below

You will notice that the ^do(SpanStyle, "middle of this sentence is colored red", red)^ while the remainder is not. And the ^do(SpanStyle, "middle of this sentence is colored violet", #80a)^ while the remainder is not.

You will notice that the middle of this sentence is colored red while the remainder is not. And the middle of this sentence is colored violet while the remainder is not.