color

abstract infix fun color(color: Int): Styler

Sets the color using an integer RGB value.

Return

this Styler instance for chaining

Parameters

color

the color as an integer (e.g., 0xRRGGBB)


abstract infix fun color(color: TextColor): Styler

Sets the text color.

Return

this Styler instance for chaining

Parameters

color

the text color to apply


abstract infix fun color(hex: String): Styler

Sets the color using a hexadecimal string.

Return

this Styler instance for chaining

Parameters

hex

the color as a hexadecimal string (e.g., "#RRGGBB" or "RRGGBB")