title: Extracting rgb color components from integer value
body: <p>if there is an integer value, eg. 86 then how can i extraact the r,g,b components from this integer value....? 
  I am working on Visual C++ 2008 express edition.
  Thanks..</p>