It is because color is a Windows command and OnlineGBD is running on a Linux server.
Look at tput setaf and tput setab in this article. The color codes can be found here.