title: C# Forms Picturebox to show a solid color instead of an image
body: <p>Im making a little app to display the pictures of guests as they scan their cards.
  But i want to to display blank green or red (green if the guest exists without a photo and red if they dont exist)</p>
  
  <p>But i cant figure out how to create a blank colour image.</p>
  
  <pre><code>Bitmap bmRed = new Bitmap(imgbox.Width, imgbox.Height, PixelFormat.Format24bppRgb);
  imgbox.Image = bmRed;
  </code></pre>
  
  <p>Thats the code i have at the moment and it just makes the box black.
  imgbox is a PictureBox</p>