Improve colorallocation with the static method getColor.
Merge branch 'master' of https://github.com/carlossosa/Thumbnails.git