better color detection