But, if it's done right meaning if it uses a color distance-algorithm it may work even though the colors are distorted, the algorithm will check if the color is within a given range of tolerance, this may require a different color space than RGB, often used is LAB, or HSB.
HSV | HSL-Zuid | HSL and HSV | HSV-2 Swift |