I would use image software liker the free Irfanview http://www.irfanview.com/ where you create a narrow "canvas" around the image with your color.
Or just add a border in CSS to a class:-
.imageborder { border: 3px solid red; }
<img class="imageborder" src="image1.jpg" alt="Image 1">