title: How to convert a color integer to a hex String in Android?
body: <p>I have an integer that was generated from an <code>android.graphics.Color</code></p>
  
  <p>The Integer has a value of -16776961</p>
  
  <p>How do I convert this value into a hex string with the format #RRGGBB</p>
  
  <p>Simply put: I would like to output #0000FF from -16776961</p>
  
  <p><strong>Note:</strong> I do not want the output to contain an alpha and i have also tried <a href="https://stackoverflow.com/questions/4506708/android-convert-color-int-to-hexa-string">this example</a> without any success</p>