Chroma subsampling
How JPEG and other formats shrink files by storing less color detail than brightness detail.
Definition
Chroma subsampling reduces file size by storing color (chroma) information at lower resolution than brightness (luma) information. The human eye is more sensitive to brightness detail than color detail, so discarding color data is rarely noticed. Notation like 4:4:4, 4:2:2 and 4:2:0 describes how many chroma samples are kept per block of pixels.
In practice
4:2:0 is the default for most web JPEGs and halves the color data — usually invisible on photographs. 4:4:4 keeps full color resolution and matters for images with saturated hard edges: graphics, text, screenshots and product shots with strong color boundaries. If you see color bleeding on a compressed screenshot, that's chroma subsampling.
Why the eye tolerates it
The technique relies on a genuine property of human vision rather than a convenient approximation, which is why it has survived in every major format since the late 1980s.
Your retina contains far more rods, which detect brightness, than cones, which detect colour. Brightness detail is therefore resolved at much higher spatial resolution than colour detail. Present a fine alternating pattern of light and dark and you see it clearly; present the same pattern at full brightness but alternating red and green, and from a normal viewing distance it blurs into a single muddy tone.
Subsampling exploits exactly that limit. It throws away colour resolution you were never going to perceive, while keeping all the brightness resolution you would notice immediately.
When it becomes visible
The failure mode is predictable, and you have almost certainly seen it without knowing the cause.
Red text on a white background is the classic case. Text is fine, high-contrast detail; when colour resolution is halved, red glyph edges pick up grey and pink fringing. This is why screenshots of text should never be JPEG — use PNG or WebP lossless instead.
Saturated graphics and flat colour blocks suffer because they have sharp colour boundaries with little brightness variation. A chart with a bright red bar beside a bright blue bar is asking for colour bleeding.
Photographs are almost immune. Natural scenes have gradual colour transitions and rarely place two fully saturated complementary colours edge to edge, which is why 4:2:0 is a safe default at normal viewing sizes.
The practical rule: if an image contains text, UI, or hard-edged saturated colour, choose a format without chroma subsampling — or set 4:4:4 if your encoder offers it. If it is a photograph, leave the default alone. Note that AVIF and WebP handle colour differently again, so a screenshot that bleeds as JPEG may be perfectly clean as WebP lossless.
Related guides
Compress your images now — free and private
Process up to 200 images locally. Choose a format, compare the results and download a ZIP.