Is it possible to change the background color of Terminal.app from the shell? If so, how?
osascript -e "tell application \"Terminal\" to set background color of window 1 to {0,45000,0,0}"
(Can't take the credit)