primitive detection of specific colors