Adding a new color detection algorithm