title: How does the algorithm to color the song list in iTunes 11 work?
body: <p>The new iTunes 11 has a very nice view for the song list of an album, picking the colors for the fonts and background in function of album cover. Anyone figured out how the algorithm works?</p>
  
  <p><img src="https://i.stack.imgur.com/SNXX2.png" alt="Third Example"></p>