Linux container and color

Hi
i am trying to print text with color when user login to docker (like in alpine or ubuntu):

docker exec -it 4d9530b57670 /bin/bash  :heavy_check_mark:  at 16:45:14 
\033[1;32;41mtest123\e[0m
root@4d9530b57670:/# cat /root/.profile
a=$(echo “H4sIAGvBxWEAAytJLS4xNDLmAgA1OJRuCAAAAA==” | base64 -d | zcat);echo “\033[1;32;41m$a\e[0m”
root@4d9530b57670:/# cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“Debian -- User Support
BUG_REPORT_URL=“https://bugs.debian.org/
root@4d9530b57670:/#

as you can see instead of pritning the text “test123” in red color i get
\033[1;32;41mtest123\e[0m

(see all data above)
why on usual Linux machine u run everything works but not on docker?