color

open fun color(color: String, text: String): Text.HtmlBuilder

Insert a foreground color to display the text in.

Return

The HtmlBuilder instance

Parameters

color

The color to use (any valid CSS color)

text

The text to insert