title: Python PIL: color index to RGB
body: <p>following <a href="https://stackoverflow.com/questions/138250/read-the-rgb-value-of-a-given-pixel-in-python-programaticly">this link</a> i was able to load and read pixels from a .gif. That question specifically askes for a RGB value, but the accepted (and most voted answer) that I used as reference gets me to get an int as value. What is it? I guess some sort of index, but how to convert it to a proper rgb value? Thanks</p>
  
  <pre><code>[..]
  img = Image.open(GIF_FILENAME)
  pix = img.load()
  for i in range(5):
      print img.getpixel((i, 0))
      # this returns me like 78, 65.. how to get RGB?
  [..]
  </code></pre>