improve color detection. fixes #1
0.1.2