Added a better color similairy function

The old one gave gray as the best value for most stuff.
This is a function that i have used before and i have generally found it to be quite good.
Merge pull request #1 from callesg/patch-2

Added a better color similairy function