Change Terminal Background Color in OS X

I'm looking for a way to change the background color of the terminal window in Mac OS X. For example, I want to be able to do something like 'SetColor(Red)' to change the background of the entire terminal to red. I've searched the web and have found several suggestions for implementing this on Windows, but none of them have worked for me on my Mac.

If this isn't possible, I could set up a simple GUI to do something similar (i.e. a giant square that changes color) but since I've never programmed in C++ before I would prefer to avoid this route if possible.

The only functional requirement of whatever I build is that it needs to be able to change the background of a large window to a different color on demand.

Thanks in advance for any help you're able to offer.
Topic archived. No new replies allowed.