title: Finding the dominant color of an image in an Android @drawable
body: <p>You can understand why I'm trying to find the dominant color in an image if you use Windows 7.  When your mouse over a program in the taskbar, the background of that particular program changes based on the most dominant color in the icon.  I have noticed this technique used in other programs as well, but can't remember them off the top of my head.</p>
  
  <p>I can see this being helpful in a number of UI techniques that I'm using to develop an application, and I was wondering how finding the most common color would be achieved from an Android drawable resource.</p>