title: How can I convert an RGB integer to the corresponding RGB tuple (R,G,B)?
body: <p>How can I convert an ARGB integer to the corresponding ARGB tuple (A,R,G,B)? </p>
  
  <p>I receive some XML where a color tag is given with some integer value (e.g -16777216). I need to draw a rectangle filled with that color. But I am unable to retrieve values of the A,R,G,B components from the integer value.</p>