Color Sensor

What is a color sensor?

A color sensor works just like a pair of "eyes" for machines. It automatically looks at an object, recognizes its color (like red, green, or blue), and tells the control computer exactly what color it sees so the machine can make its next move.

How do color sensors work?

The working principle of a color sensor involves emitting light toward a target object via built-in RGB light-emitting diodes and then receiving the reflected light through a photodetector. By analyzing the intensity of red, green, and blue light wavelengths, the device can precisely determine the object's color. While basic sensors can identify preset colors for simple industrial conditions, high-end models are equipped with multi-mode processing algorithms capable of distinguishing extremely fine color differences in high-precision detection scenarios.

How to select the right color sensor for your application?

  • Check the Distance: If you are detecting color marks on fast-moving packaging, 10mm (like ATO-COLS) is the standard. For longer distances, choose the 20mm or 50mm models.
  • Confirm the Output: Do you need a simple switch signal (NPN/PNP) or continuous data? For advanced automation, our RS485 and Analog output color sensors provide precise color intensity data.
  • Target Size: For tiny electronic parts, choose a micro-spot sensor to avoid background interference.
Model (SKU)Detection DistanceLight SourceResponse TimeOutput Type
ATO-COLS10±2mm, 9mmRed/Green/Blue/White multi-color0.1~1ms, 50μs, 200μs/500μsNPN
ATO-COLS-CPES11~20mmRGB color recognition source200µsNPN/PNP, 4-channel open collector
ATO-COLS-70NP30–70mm / 50–500mmHigh-brightness White LED< 1msNPN/PNP NO/NC
ATO-COLS-317–13mmRGB Tri-color< 45µs, < 150µsNPN/PNP + Analog (0–5V)
ATO-COLS-21N5–50mmRGB Photodiode + Fiber Optic50µs, 130µsNPN/PNP
ATO-COLS-V21Fiber Optic (customizable)RGB + Fiber Optic200μS/1ms/4ms/8msNPN/PNP + RS485 Modbus
ATO-COLS-22N18–28mmRGB Tri-color LED< 100 μsDigital output (color/mark dual-mode)
ATO-COLS-W2210±2mmMulti-color optional lightStandard responseNPN/PNP dual outputs


Why choose ATO RGB color sensors for industrial automation?

  • Ultra-Fast 45μs Response: In Color Mark Mode, ATO-COLS-31 sensors operate under 45 microseconds, outperforming standard optical sensors on high-speed packaging machine lines.
  • Color Mode Calibration: When switching to Color Mode (< 150μs), the sensor emits Red, Green, and Blue light simultaneously to analyze the exact RGB reflection ratio, helping engineers distinguish subtle color variations and filter out complex backgrounds.
  • NPN vs. PNP Selection: ATO provides both ATO-FGS-31N (NPN) and ATO-FGS-31P (PNP) switching outputs to ensure 100% compatibility with your PLC control systems.

What are the common types of industrial color sensors, and which applications are they suitable for?

Sensor TypeKey FeaturesIdeal Use Cases
Basic Color/Mark Sensorlow cost, easy installation, multi-light optional, anti-interferencesimple sorting, packaging color mark detection, basic positioning
High-Speed RGB Color Sensorfast response, high-precision recognition, IP67 waterproof, wide temperature resistancehigh-speed packaging, printing, electronic assembly quality inspection
Fiber Optic RGB Sensor3000+ color recognition, multiple detection modes, high precisionnarrow space detection, complex sorting and quality control
Long-Distance Color Sensorhigh-brightness LED, max 500mm sensing range, stable for uneven surfaceslarge production lines, logistics sorting, variable-distance outdoor use
Dual-Mode LED Color Sensorcolor/mark mode switchable, anti-vibration, stable at different distancesmulti-process production, packaging and label dual detection

What are the core advantages of color sensors?

Compared to manual inspection, color sensors possess four core advantages:

  • Stable Detection: Precise detection is maintained even with minor shifts in the object's distance or angle, stability is far superior to human vision.
  • Strong Compatibility: Supports NPN/PNP dual output, allowing direct connection to various industrial PLCs and automation equipment, fitting most industrial control scenarios.
  • Compact Size: The body is compact and lightweight, saving installation space and adapting to various automation equipment layouts.
  • Excellent Anti-interference: Built-in optical filtering algorithms can block environmental light and dust interference, ensuring stable operation in complex working conditions.

What industries are color sensors applied in?

Color sensors are widely used in mainstream industrial fields. Their core uses per industry are briefly summarized below:

  • Packaging and Printing Industry: Used for color mark positioning, color calibration, color difference detection, and label verification, correcting color deviation and alignment issues.
  • Electronics Manufacturing Industry: Used for PCB component verification, accessory color sorting, and workpiece orientation identification, achieving high-precision quality inspection and sorting.
  • Logistics and Warehousing Industry: Used for parcel label identification and material classification, significantly improving the efficiency and accuracy of sorting lines.
  • Food and Beverage Industry: Detects packaging sealing integrity, bottle cap color matching, and label alignment to ensure products meet regulatory standards.
  • General Industrial Automation: Replaces manual labor for material classification and workpiece appearance inspection, achieving production automation and standardization.

FAQ for color sensors

Q1: Are color sensors easily affected by ambient light?
A1: Industrial models feature optical filtering and anti-interference algorithms to resist ambient light without additional shielding, ensuring stable detection.
Q2: Can they identify similar colors and subtle color differences?
A2: Yes. Basic models distinguish standard colors, while high-precision RGB and fiber-optic models can identify minute color differences to meet high-precision quality needs.
Q3: Do color sensors support PLC integration? What are the output methods?
A3: Yes, they come standard with NPN/PNP dual output and can connect directly to various PLCs and industrial control equipment. Wiring is simple with high universality.
Q4: What is the difference between a color sensor and a standard color mark sensor?
A4: Standard color mark sensors only identify contrast between light and dark; color sensors can precisely distinguish multiple colors and subtle color differences with higher accuracy and wider use.

View as Grid List
Sort by
Display per page

Color Detection Sensor, Red/Green/Blue/White

ATO-COLS
$85.24
Color sensor can be used with the instrument of automatic control system to detect the color, color patches and lines, and objects existence, can realize automatic positioning, color identification, correction, register, counting and other functions, with high sensitivity, fast response, strong anti-background light interference, compact structure, easy to use and low price.

Color Recognition Sensor, NPN/PNP Output

ATO-COLS-CPES
$735.62
Discount color recognition sensors for sale, support NPN/PNP output, provide 4-channel open collector interface, suitable for a variety of industrial automation applications, with a high-speed response time of 200μs, suitable for the detection of extremely sensitive to color changes in the demand.

Industrial Color Sensor, 30-70mm/50-500mm Long Range

ATO-COLS-70NP
$339.94
This industrial color sensor utilizes a high-brightness white LED light source to enable stable and accurate detection over a long range of 30–70mm or 50–500mm. It excels at distinguishing subtle color and brightness differences on various workpieces, even under challenging conditions like surface tilt or distance variations. This industrial color sensor offers reliable performance for diverse industrial automation applications.

RGB Digital Color Mark Sensor, 7-13mm

ATO-COLS-31
$319.41
Low price RGB digital color mark sensor is for sale. Color mark sensor has two modes: 45μs ultra-high-speed color mark detection and high-precision color discrimination. It has an IP67 protection rating and an operating temperature range of -10~55℃, and is suitable for high-speed and high-precision color mark detection in packaging, electronics and other industries.

Color Light Sensor with RGB Photodiode, 5-50mm

ATO-COLS-21N
$161.76
This color light sensor with an RGB photodiode offers high-precision color recognition for a wide range of targets (5-50mm). It features three distinct detection modes to handle various object characteristics, utilizes a combination of RGB light source, fiber optic probe, and focusing lens for stable performance, and provides rapid response times.

RGB Fiber Optic Color Sensor, NPN/PNP

ATO-COLS-V21
$514.31
Low-cost fiber optic color sensor is for sale. RGB color sensor equipped with matched optic sensor head, it can accurately identify more than 3,000 kinds of colors. It has threen detection modes, and is also built with three detection modes to adapt to various scenarios, making it an efficient tool for color detection.

Photoelectric LED Color Sensor, 18-28mm

ATO-COLS-22N
$191.54
This photoelectric LED color sensor utilizes advanced RGB tri-color lighting to deliver high-precision color recognition and mark detection. With a versatile dual-mode operation, it allows seamless switching between color mode and mark mode to suit various industrial applications. Color identification sensor offers a long detection range of 18–28 mm, excellent anti-jitter performance for accurate and stable detection.

Photoelectric Color Sensor for One/Two Color Detection

ATO-COLS-W22
$102.24
Photoelectric color sensor at low price is for sale. Color detection sensor adopts a multi-light color optional design, which can accurately identify color marks on different materials and supports NPN/PNP dual outputs. It has an IP67 protection rating, strong anti-light interference ability, and stable and reliable performance.