Manually Coloring Output

I would like to be able to color my own error messages in CI. But the escape sequences that work in my local shell don’t work in Gitlab. Anybody know the trick for getting it to work in Gitlab CI’s output log?

Works locally, doesn’t work in Gitlab CI:

echo "\033[0;31m ERROR_GOES_HERE \033[0m"