Optek’s color sensor assembly combines a white LED with a reflective color sensor chip in a miniature plastic housing less than one quarter of a cubic inch. The white LED (self-correcting to minimize the effect of non-uniform ambient light sources) is used to illuminate the surface of the object or liquid being sensed, while the color sensor chip measures the HSL value (hue, saturation, luminance) of the light reflected from that surface. By processing this value through a programmable algorithm, the sensor has the ability to distinguish between several different colors and intensities.www.optekinc.com