The VEX V5 276-7043 is the V5 Optical Sensor is a combination of ambient light, colour, proximity and gesture sensor. Colour information is available as RGB, hue and saturation or grayscale. The proximity sensor measures reflected light intensity, and as such, the values will change with ambient light and object reflectivity. The gesture sensor can detect one of four possible gestures, an object (hand or otherwise) moving up, down, left or right over the sensor.
Colour detection works best when the object is closer than 100mm
Optical Sensor has a white LED to assist colour detection in low light conditions