Color detection (not tested).