it's actually very easy to tell the difference between colors, different photosensor diodes are set to detect different colors, how do you think we have color scanners.