Hi,
For portability reasons, it's better to use tput attributs. This way your script will work an any kind of terminal. Escape sequences usually work on one terminal ( or one family) .
man tput for more ot goole tput terminfo.
tput clear ( clear screen )
tput smso ( set reverse video mode )
tput rmso ( reset reverse video )
tput smul ( set mode underline )
tput rmul ( reset mode underline)
tput cup x y ( cursor position )
and more