color

fun color(color: Color): TextStyle

Create a TextStyle with a foreground of color, downsampled to a given level.

It's usually easier to use a function like rgb or hsl instead.