aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/set_color.txt
blob: 742a69fc2a4e1e9975ff52e279bad79c5ff9d0b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

\section set_color set_color - Set the terminal color

\subsection set_color-synopsis Synopsis
 <tt>set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]</tt>

\subsection set_color-description Description

Change the foreground and/or background color of the terminal.
COLOR is one of black, red, green, brown, yellow, blue, magenta,
purple, cyan, white and normal. 

- \c -c, \c --print-colors Prints a list of all valid color names
- \c -b, \c --background Set the background color
- \c -o, \c --bold Set bold or extra bright mode
- \c -h, \c --help Display help message and exit
- \c -v, \c --version Display version and exit


Calling <tt>set_color normal</tt> will set the terminal color to
whatever is the default color of the terminal.

Some terminals use the --bold escape sequence to switch to a brighter
color set. On such terminals, <code>set_color white</code> will result
in a grey font color, while <code>set_color --bold white</code> will
result in a white font color.