foreground

Sets foreground; null takes the color from the parent container.

Return

this modifier with the foreground color declared on it.

Parameters

color

the color the component draws its text and content in, inherited by children that have none of their own.

See also