How can I change color of SSH browser terminal?

I have created an SSH browser terminal and it works fine. However, I would like to change the background color of the terminal from black to something else.

Normally, I use iterm to connect to our servers and we have a color scheme to help distinguish the dev servers from production. When logging into a dev server, the terminal background color is the normal black, but when logging into a production server it is red. This has helped to prevent “Ooops, I thought I made that change on the dev server” problems by making the production server terminal window a different color.

Is there any way to set the terminal background color when creating an SSH terminal application?

I’ve tried using various escape sequences (e.g. echo -ne "\033]11;#53186f\007"), but nothing works.

Seems cool :smiley: