title: Android: Color To Int conversion
body: <p>I'm surprised that <code>Paint</code> class has no <code>setColor(Color c)</code> method. I want to do the following:</p>
  <pre><code>public void setColor(Color color) {
  /* ... */
  Paint p = new Paint();
  p.setColor(color); // set color takes only int as a paramter :(
  /* ... */
  }
  </code></pre>
  <p>So any easy way to convert <code>Color</code> to <code>int</code>?</p>