title: OverflowException when trying to blend 2 colors
body: <p>I have 2 colors coming from an old VB6 format.</p>
  
  <p>In this case, these 2 colors are vbBlack and vbBlack.
  I need to blend / mix them.</p>
  
  <p>In VB6 said I simply said:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Public Function BlendColors(ByVal lColor1 As Long, ByVal lColor2 As Long) As Long
      BlendColors = RGB( _
          ((lColor1 And &amp;HFF) + (lColor2 And &amp;HFF)) / 2, _
          (((lColor1 \ &amp;H100) And &amp;HFF) + ((lColor2 \ &amp;H100) And &amp;HFF)) / 2, _
          (((lColor1 \ &amp;H10000) And &amp;HFF) + ((lColor2 \ &amp;H10000) And &amp;HFF)) / 2)
  End Function
  </code></pre>
  
  <p>Now with VB.NET, I first have to convert these two Win32 color codes to Color.</p>
  
  <p>I am using</p>
  
  <pre class="lang-vb prettyprint-override"><code>Public Function IntegerToColor(ByVal uColorValue As Integer) As Color
      Dim nColor As Color = ColorTranslator.FromWin32(uColorValue)
      Return nColor
  End Function
  </code></pre>
  
  <p>Then I am using the following function to actually blend these Colors:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Dim nBlendedColor As Color = Color.FromArgb((c1.A + c2.A) \ 2,
                                              (c1.R + c2.R) \ 2,
                                              (c1.G + c2.G) \ 2,
                                              (c1.B + c2.B) \ 2)
  </code></pre>
  
  <p>This function however throws an <code>OverflowException</code> telling me I may not divide by 0.</p>
  
  <p>What am I doing wrong?</p>