搜尋一些資料主要是下面這個網站 查詢哪些顏色可以使用!
The keys (above) are assigned a colour pattern which is a semi-colon separated list of colour codes.
Effects | |
00 | Default colour |
01 | Bold |
04 | Underlined |
05 | Flashing text |
07 | Reversetd |
08 | Concealed |
Colours | |
31 | Red |
32 | Green |
33 | Orange |
34 | Blue |
35 | Purple |
36 | Cyan |
37 | Grey |
Backgrounds | |
40 | Black background |
41 | Red background |
42 | Green background |
43 | Orange background |
44 | Blue background |
45 | Purple background |
46 | Cyan background |
47 | Grey background |
Extra colours | |
90 | Dark grey |
91 | Light red |
92 | Light green |
93 | Yellow |
94 | Light blue |
95 | Light purple |
96 | Turquoise |
97 | White |
100 | Dark grey background |
101 | Light red background |
102 | Light green background |
103 | Yellow background |
104 | Light blue background |
105 | Light purple background |
106 | Turquoise background |
ISO 6429 color sequences are composed of sequences of numbers separated
by semicolons. The most common codes are:
0 to restore default color
1 for brighter colors
4 for underlined text
5 for flashing text
30 for black foreground
31 for red foreground
32 for green foreground
33 for yellow (or brown) foreground
34 for blue foreground
35 for purple foreground
36 for cyan foreground
37 for white (or gray) foreground
40 for black background
41 for red background
42 for green background
43 for yellow (or brown) background
44 for blue background
45 for purple background
46 for cyan background
47 for white (or gray) background
Not all commands will work on all systems or display devices.
全站熱搜
留言列表