After your robot detects your color, program it to give some kind of a signal. You can choose if it is a status light change, a message on the screen or a sound alarm.