setForeground

fnvoid setForeground(ubyte r, ubyte g, ubyte b) nothrow @nogc @trusted

Sets the default foreground (label) color.

Parameters

rRed component (0-255)
gGreen component (0-255)
bBlue component (0-255) Example:
setForeground(0, 0, 0); // Black text