Image Compressor topic guide

sRGB vs Display P3: why photos look dull after upload

Direct answer

If an image looks saturated in your editor or phone gallery and washed out in a browser, the file is probably carrying a wide-gamut profile such as Display P3 while the page reads it as sRGB. sRGB is the dependable choice for the web. Display P3 keeps more colour, but only when the profile travels with the file and the viewer knows what to do with it.

Try the Image Compressor

What this workflow handles

sRGB and Display P3 describe different ranges of colour, not different file formats. Both store three numbers per pixel; the profile is what gives those numbers a meaning. W3C's CSS Color 4 defines display-p3 as a predefined colour space and compares the gamuts by volume: sRGB covers 0.820 million Lab units, display-p3 covers 1.233, a98-rgb covers 1.310. Chrome for Developers puts the same difference more plainly — display-p3 offers almost twice as many colours as sRGB — and notes that Apple shipped P3 displays from 2015 and supported the space in Safari CSS from 2016. Larger gamut is not automatically better. A number that sits inside sRGB means one colour in both spaces; a number outside sRGB simply has no sRGB equivalent and gets clamped when the profile is missing. That is why the failure looks one-sided: reds, oranges and greens lose punch while grey and skin tones barely move. Untagged PNG files are treated as sRGB by the PNG specification, and most tools apply the same assumption to untagged JPEGs, so a stripped profile does not produce 'no colour' — it produces the wrong colour.

Use the image compressor to re-encode a single image in its original format at the same pixel dimensions, then compare the byte counts in the result panel before keeping the output.

Frequently asked questions

Why do my photos look dull after I upload them?

A photo loses saturation after upload when the file is a Display P3 image and its profile is dropped or ignored, so the same RGB numbers are read as sRGB. Not every browser and screen can show P3, and untagged files are treated as sRGB. Check the profile on the original and on the uploaded file before blaming the compressor.

Should I export web images as sRGB or Display P3?

Use sRGB for anything that has to look the same everywhere: web pages, email, marketplace listings and ads. Display P3 is worth keeping when the image is viewed mainly in Safari on an Apple display or inside an app that manages colour. If you export P3, keep the embedded profile and test the page on a screen that cannot show it.

How can I tell which colour profile an image has?

Open the file in Preview and choose Tools > Show Inspector, read the ICC profile line in Photoshop or Affinity, or run exiftool with -ProfileDescription and -ColorSpace. A missing profile is common after exports from web tools. It does not mean the image has no colour space; it means the numbers will be read as sRGB.

Does compression change the colours in an image?

Re-encoding changes pixel values, and heavy compression can shift flat areas slightly, but it does not by itself convert a colour space. Trouble starts when a pipeline strips the profile or converts to sRGB without telling you. That is why two files with the same dimensions and quality setting can look different after one trip through another tool.

Is Display P3 better than sRGB for product photos?

Not automatically. P3 gives you more room for saturated reds, greens and cyans, but the gain only survives if the profile is embedded and the viewer supports it. For product photos judged inside a marketplace app, sRGB is usually safer because every step of that pipeline assumes it. Compare both versions on the actual listing page.

How to use it

  1. Check the profile on the original before changing anything. Preview's inspector lists the ICC profile, Photoshop and Affinity show it in the document info, and exiftool -ProfileDescription -ColorSpace file.jpg prints it from the command line.
  2. Pick the destination. Use sRGB for web pages, email, ads and marketplace listings. Keep Display P3 only when the image will be viewed mainly in a colour-managed app on a P3 display.
  3. Convert to the profile instead of assigning it. Converting remaps the pixel values into the new space; assigning keeps the same numbers and changes their meaning, which shifts every colour on the page.
  4. Export a copy, reopen it, and confirm the profile is still embedded. Compare it with the original at 100% rather than trusting a thumbnail.
  5. If the exported file is still heavier than the page budget, compress it and check both the byte count and the colour against the copy you just approved.

Common mistakes

  • Assigning sRGB instead of converting to it. Assigning a profile keeps the original numbers and relabels them, so a wide-gamut file suddenly looks oversaturated or dull depending on which way it went. Converting remaps the values and keeps the visible colour close to the original. In Photoshop the two commands are Convert to Profile and Assign Profile, and the difference matters more than the file size ever will.
  • Taking a screenshot of a P3 image and using the screenshot. A screenshot is captured against the display profile and then saved with whatever profile the capture tool writes, which is often sRGB. Colours that were outside sRGB get clipped during that capture, so the screenshot is already a degraded copy. Export from the source editor instead of recapturing the screen.
  • Exporting for the web with the profile stripped. Some export presets and image pipelines remove ICC data to save a few hundred bytes. Those bytes are what tell the browser how to interpret every pixel. Keep the profile for the final web copy; it is small compared with the image data and it is the difference between the colour you approved and the colour a visitor sees.
  • Judging the result on one display. A P3 export reviewed only on a P3 laptop looks fine by definition. The same file opened on an ordinary sRGB monitor can look flatter or, if the profile is ignored, unexpectedly more saturated. Check the page on a second device before deciding that the colour is correct.

Check the output

After running the workflow, verify these four things on the actual file before you upload it anywhere.

  • Profile is embedded. Reopen the exported file and confirm the ICC profile line still names the space you chose. A blank line means the numbers will be read as sRGB.
  • Colour matches at 100%. View the export and the original side by side at 100% zoom rather than comparing two thumbnails. Zooming out averages neighbouring pixels and hides exactly the shifts this check is meant to catch.
  • One version is in use. Keep the sRGB export as the file you upload. Mixing P3 and sRGB copies of the same photo across pages makes the product look inconsistent without any obvious error message.
  • Bytes fit the page budget. Colour management does not reduce file size. If the corrected export is still too heavy for the page, compress it separately and re-check the colour on the compressed copy.

Sources

Explore the image compressor topic cluster

Each guide answers a different image-decision question. Pick the one that matches your situation, then use the linked tool to produce the output you need.

Related guides

  • JPEG vs PNG: which format should you actually use

    JPEG is lossy and intended for photos; PNG is lossless and carries an alpha channel, so it is the right format for graphics, screenshots and anything that needs transparency. Pick by content type, not by file size. Backed by MDN, WHATWG and the Pillow documentation.

  • JPEG vs PNG vs WebP: how to choose the right image format

    JPEG, PNG and WebP are not interchangeable. The right choice depends on what is in the image, whether it needs transparency, the file-size budget, and where the image will be displayed. A practical decision guide backed by MDN, Google Developers, web.dev, the WHATWG HTML Living Standard and the Pillow documentation.

  • How to optimize images for the web

    Optimizing an image for the web is a four-step decision chain: pick the format that matches the content, resize to the actual display size, re-encode at a balanced quality, and serve the result with a modern-format fallback. A practical guide backed by web.dev, MDN, Chrome for Developers Lighthouse audits, and the Pillow documentation.

  • Why does my image look blurry on my website

    An image looks blurry on a website when the pixels served are fewer than the slot needs (browser scaling, missing 2x retina file), the source was upscaled, the wrong format was used for the content, or the encoder removed fine detail. A troubleshooting guide that maps each cause to a check and a fix, with sources from MDN, web.dev, Chrome for Developers and the Pillow handbook.

All image compressor guides