<HTML> <HEAD> <TITLE>set.text.attribute</TITLE></HEAD> <BODY> <h1>set.text.attribute</h1> <B>Category</B><p> <a href="display_commands.html">Display commands</a><p> <B>Syntax</B><p> <p> set.text.attribute(FG,BG);<p> <B>Description</B><p> <p> Sets the foreground and background colours for <a href="display.html">display</a> and <a href="display_v.html">display.v</a>. The background colour can only be black (if BG is 0) or white (if BG is greater than 0). If the background is white, all text will be displayed with a black foreground. Otherwise, the text will be displayed with the foreground specified by FG (0-15). <p> <B>See also</B><p> <a href="display.html">display</a><p> <a href="display_v.html">display.v</a><p> </BODY></HTML>