1set_color(1) fish set_color(1)
2
3
4
6 set_color - "set_color - Set the terminal color"
7
8 Synopsis
9 set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
10
11 Description
12 Change the foreground and/or background color of the terminal. COLOR is
13 one of black, red, green, brown, yellow, blue, magenta, purple, cyan,
14 white and normal.
15
16 · -b, --background Set the background color
17
18 · -c, --print-colors Prints a list of all valid color names
19
20 · -h, --help Display help message and exit
21
22 · -o, --bold Set bold or extra bright mode
23
24 · -u, --underline Set underlined mode
25
26 · -v, --version Display version and exit
27
28 Calling set_color normal will set the terminal color to whatever is the
29 default color of the terminal.
30
31 Some terminals use the --bold escape sequence to switch to a brighter
32 color set. On such terminals, set_color white will result in a grey
33 font color, while set_color --bold white will result in a white font
34 color.
35
36 Not all terminal emulators support all these features. This is not a
37 bug in set_color but a missing feature in the terminal emulator.
38
39
40
41Version 1.21.12 4 Sep 2006 set_color(1)