2 color detection