

Mantis shrimp live on bright, shallow reefs where light keeps changing. It bounces off sand, flashes off fish scales, and scatters through water. To deal with all that visual noise, their eyes are built to collect more kinds of information than ours.
Humans rely on three main colour channels. Many mantis shrimp species have far more photoreceptor types, including ones that can detect ultraviolet. That means they can register parts of the spectrum that are invisible to us. On top of that, some mantis shrimp can detect polarised light. Polarisation is not a colour. It is a property of light waves. Underwater, it can help reveal outlines and shiny surfaces, and it can carry signals between animals.
The interesting twist is that having many receptors does not necessarily mean they make finer shade comparisons than humans. Evidence suggests their system is tuned for quick recognition. Instead of carefully comparing tiny differences, they may sort visual input fast, which is useful when you need to react in a split second.
So when people say mantis shrimp see colours humans cannot imagine, the point is not that they see a prettier rainbow. They pick up extra layers of light information, and their eyes are built to read it quickly.