title: Show image with a background colour - CSS
body: <p>I think all of you are familiar with this, images on facebook comes with a default background<br>
  How can i achieve same type of background color for images [without using any div just for the background]<br>
  As you can see my codes also creates background color but they are not rectangle in size :( </p>
  
  <p>This is the preview</p>
  
  <p><img src="https://i.stack.imgur.com/PwAlA.jpg" alt="My CSS vs FB CSS"></p>
  
  <p></p>