I'm sure most ppl are using Photoshop to do this... but getting the programme is a little OTT if you're just doing that.
I think ou can do it in any photo editor.... really, all you have to do is extend the canvas area by whatever you want - extending width by ten and height by 10 will give you a border of 5px on either side. Then fill this area with whatever colour you want.
__________________
|