added color detection
Merge pull request #2 from Unnar3/master

added color detection