Contrast sensors detect and compare contrasts very precisely through the use of different light sources such as white light, laser-generated red light or RGB light. The detected contrasts marks are then reported to the process with minimal signal jitter. Through the automatic selection of the right transmitter colors, various color or gray value combinations can be reliably detected. Bar graph indicators offer additional ease in making adjustments during manual setup.