Initial code for color detection and testing