Get main color of a picture (Inspired in Ubuntu)