All of the colors are controlled by the css file. Just open up the template that contains the item you want to modify and have a look at what class is called. Then open up skin1.css and modify accordingly. If you use Webmaster Mode, you will easily be able to tell which template is which
And the border around the contents is controlled by dialog.tpl, which is used for all of the content in the middle.