Using only three colors, RGB, all other colors can be obtained. Therefore, there is no need to detect all other colors if you don't have to make spectral analysis/evaluation.

Our regular cameras also detect only RGB wavelengths, then the colors are perceived from the combinations of these wavelengths.

How our our body knows that only RGB is enough to produce all other colors is really one of the most interesting questions.

The spectrum of visible light is continuous, from 380 nm to 740 nm, with no clear boundaries between one color and the next. If an individual color occupied only one wavelength, (say as a pure laser color) one nm each, there could be 360 individual colors in the spectrum.

However, the spectral colors are just seven: Violet, Blue, Cyan, Green, Yellow, Orange & Red

Why don’t we see spaces between these seven colors?

It makes me think of a number line, with only the natural numbers from one to seven marked on it.

But we know there are no gaps between them as these are filled in by fractions and then come those irrationals that Dedekind showed us must exist.

Are there, then any irrational colors between these seven natural colors that we can’t see unless some Dedekind comes along to show us?

The closest I can find to a mention of this is impossible and imaginary colors; mathematical objects only, but some people claim to be able to see them!