Format: echo -e "\033[word background color; font color m string \033[0m"
For example:
echo -e "\033[41;36m something here \033[0m"
The position of 41 represents the background color, The position of 36 represents the color of the word.
Those ascii codes are the beginning and end of the color call.
\033[XX; m …… \033[0m #XX represents the following digital
word color: 30---------- -37
30: black
31: red
32: green
33: yellow
34: blue
35: purple
36: dark green
37: white
Word background color range: 40----47
40: black
41: dark red
42: green
43: yellow
44: blue
45: purple
46: dark green
47: white
Font highlight color: 90------------97
90: black
91: red
92: green
93: yellow
94: blue
95: purple
96: dark green
97: white
Background highlight color range: 100--------------------107
40: black
41: deep red
42: green
43: yellow
44: blue
45: purple
46: Dark Green
47: White
==================================================ANSI Control Code Description
\33[0m close all properties
\33[1m set highlight
\33[4m underline
\33[5m flash
\33[7m inverse
\33[8m blank
\33[30m -- \33[37m before setting Scene
\33[40m -- \33[47m Set background color
\33[nA Move cursor up n lines
\33[nB Move cursor down n lines
\33[nC Move cursor right n lines
\33[nD Move cursor left n lines
\33[y;xH set cursor position
\33[2J clear screen
\33[K clear content from cursor to end of line
\33[s save cursor position
\33[u restore cursor position
\33[?25l hide cursor
\33 [?25h Display cursor
\x1b[2J\x1b[$;1H $represents row position