Changed color detection to hsl