Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.544 setforeground

setforeground [, window] , color

[x11] Sets the foreground color of window window, or of the default (last) window, to color, which must be a string (e.g., a color name) or a three-element array with floating-point values between 0 and 1 for red, green, and blue.

Alias: setfg

See also: setbackground, Incidental Colors