title: Getting the Color value of any pixel in the given bitmap
body: <p>I'm working on android's canvas view. I just want to know if this condition is valid semantically.</p>
  
  <p><code>if(bitmap.getPixel(x,y) == Color.WHITE)</code></p>
  
  <p>I logged the value of Color.WHITE by:</p>
  
  <p><code>int white = Color.WHITE;</code> 
  and this gave me the value of -1 and value of black color was -1633377 something. </p>
  
  <p>I found the way of getting the value of any pixel in bitmap by <strong>getPixel()</strong> method and it returns an ARGB value. I've tried various ways to do this but none succeeded.<br><br>Can you guys help me with this?</p>
  
  <p>Thanks. </p>