# Color Sensor

```cards
sensors.color1.onColorDetected(ColorSensorColor.Blue, function () {
})
sensors.color1.color();
sensors.color1.ambientLight();
sensors.color1.reflectedLight();
```

## See Also

[on color detected](/reference/sensors/color-sensor/on-color-detected),
[color](/reference/sensors/color-sensor/color),
[ambient light](/reference/sensors/color-sensor/ambient-light),
[reflected light](/reference/sensors/color-sensor/reflected-light),
