\033 is an octal escape sequence, which evaluates to the ESC character code (decimal 27)

The \033[ pair is known as a CSI
ANSI escape code - Wikipedia, the free encyclopedia

You need a terminal which understands these sequences if you want to observe the intended effects, otherwise you just see random garbage printed on screen.