bgColor

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

Insert a background 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