color

fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.color(color: Color): B

Sets the color of this component to color.

Equivalent to color(TextColor.color(color.rgb)).