Save a colour palette as a PNG with its colour profile embedded. Use sRGB when the image will travel to unknown apps, websites or printers, and Display P3 only when the palette holds colours sRGB cannot show and the people viewing it have wide-gamut screens. PNG is lossless, so flat swatches and hard edges stay exactly as rendered, while JPEG and HEIC soften the boundaries between swatches. Whatever the format, send the HEX values as text too, because the pixels are the part most likely to change on the way.
How much bigger is Display P3 than sRGB?
The two spaces differ only in two of their three primaries. The CSS Color Module Level 4 lists both: they share the D65 white point and the same transfer curve, and Display P3 pushes red and green further out.
| sRGB (x, y) | Display P3 (x, y) | |
|---|---|---|
| Red primary | 0.640, 0.330 | 0.680, 0.320 |
| Green primary | 0.300, 0.600 | 0.265, 0.690 |
| Blue primary | 0.150, 0.060 | 0.150, 0.060 |
| White point | D65 | D65 |
Every quoted percentage for the difference is a choice of measure. WebKit's 2016 post on improving colour on the web called Display P3 "about 25% wider than sRGB", then added that P3 has a volume of about 1.2 million CIELAB units against roughly 0.8 million for sRGB, about 50% more. Computed from the primaries above, the P3 triangle has about 36% more area on the CIE 1931 xy chart and about 26% more on the more even u′v′ chart. All of these are correct; they measure different things.
The practical reading is narrower: the extra colours are saturated reds, oranges, greens and cyans. A palette of beiges, greys and dusty mid-tones barely uses them.
What does an embedded colour profile actually do?
The numbers in an image file do not describe a colour until something says which space they belong to. Apple's Human Interface Guidelines on colour put it this way: an image embeds its colour profile so that a device can interpret its colours correctly. The same triplet, 255, 0, 0, is a less saturated red in sRGB than in Display P3.
Each format carries that description differently. The JPEG standard itself, ITU-T T.81, leaves colour space outside its scope, so the International Color Consortium defines how a profile is embedded in JPEG in an annex of its own specification. PNG defines its own chunks. The PNG Third Edition, a W3C Recommendation since 24 June 2025, ranks them: a cICP chunk takes precedence, then an embedded ICC profile in iCCP, then the sRGB chunk, then gAMA and cHRM.
When no profile is present, the default is sRGB. The original sRGB proposal said so in one line, an image with no ICC profile is assumed to be sRGB, and WebKit's colour post states that it assumes sRGB for untagged images. That default is harmless for an sRGB palette and destructive for a P3 one.
Which file format keeps flat colour exact?
A palette image is mostly flat areas with hard edges between them, plus small text. That is the content lossy codecs handle worst.
| Format | Compression | What happens to swatches and edges | Profile | Use it for |
|---|---|---|---|---|
| PNG | Lossless | Pixels stay exactly as rendered; flat areas compress well | iCCP, sRGB or cICP chunk | Palettes, colour cards, design handoff |
| JPEG | Lossy DCT on 8 × 8 blocks | Ringing and blotches along hard edges and around text | ICC profile, embedded as the ICC specification defines | Photos and quick sharing |
| HEIC | Lossy HEVC | Smaller files, but still lossy at edges | Wide colour supported | Sharing between Apple devices |
Apple's WWDC 2017 session on the High Efficiency Image File Format explains that iPhone HEIC files are HEIF containers compressed with HEVC, at an average of about half the size of a JPEG of the same visual quality. Outside Apple devices that efficiency costs compatibility: Apple says photos may be sent as JPEG when the receiving device does not support HEIF. Apple's own guidance for wide-colour artwork is to use the Display P3 profile at 16 bits per channel and export PNG.
Where does a P3 image actually look like P3?
Two conditions have to hold at once: a display that covers the P3 gamut and an app that reads the profile. Apple's wide-colour displays meet the first; WebKit says it colour-matches all images on iOS and macOS, which covers the second for Safari.
On the web you can test both. The color() function accepts display-p3 and has been available across major browsers since May 2023, and the color-gamut media feature matches p3 only when the browser and the output device together reach roughly the P3 gamut:
.srgb-red { background: #ff0000; }
.p3-red { background: #ff0000; }
@media (color-gamut: p3) {
.p3-red { background: color(display-p3 1 0 0); }
}
Put the two swatches side by side. On a P3 display the second is visibly more intense; on an sRGB display the media query does not match and both stay #ff0000, which tells you the extra range is not reaching the viewer. On a Mac you can switch the display profile in System Settings, Displays, to preview the sRGB case.
What happens when a P3 image lands somewhere that only knows sRGB?
The outcome depends on whether the destination keeps and honours the profile. There are three common cases, and only one of them is safe.
| Destination behaviour | What the viewer sees | How to protect the palette |
|---|---|---|
| Reads the profile, shows on an sRGB screen | In-gamut colours unchanged; the most saturated ones mapped inward, and near-identical P3 colours may merge | Avoid relying on two swatches that differ only in P3 range |
| Strips the profile | P3 numbers read as sRGB, so every colour looks duller | Export sRGB for unknown destinations |
| Recompresses the upload | Swatch edges and text pick up JPEG artefacts | Send the PNG as a file, plus the HEX values as text |
The first case follows the CSS rule that gamut mapping keeps colours inside the destination gamut unchanged, and Apple's guidelines add that P3 gradients can look clipped on sRGB displays. The second case is the one that surprises people. The rust #B85C38, written into a P3 file, is stored as about 172, 97, 64, which is #AC6140. Strip the profile and a viewer sees exactly that: a darker, flatter rust. Nothing in the file says anything went wrong.
If the palette was built from a photo, its values were most likely sRGB to begin with; why the HEX codes from a photo vary covers where those numbers come from, and building the palette before you export it covers roles and contrast.
Tinta's export options, and what they mean for these choices
Tinta renders a palette card on the iPhone and exports it in three tiers sized by the long edge: JPEG at 2048 pixels on the free tier, then JPEG at 3840 pixels and a lossless PNG of up to 6144 pixels with a Pro subscription. The export sheet also has a "P3 Wide Gamut + ICC Profile" option and six aspect ratios: 3:4, 1:1, 4:3, 16:9, 9:16 and 1.91:1. The full list, with which mounts carry a badge, is in Tinta's export sizes, P3 and free-tier watermark.
The watermark rule is specific. Four mount styles, Empty Margin, Spread, Reserve and Plate, are free and never carry it. Four limited-free styles, Develop, Stub, Ladder and Diptych, export with a small "Made with Tinta" badge on the free tier, and Pro can remove it. The remaining ten styles need Pro.
Two honest limits follow from the rest of this article. Tinta's swatch values are 8-bit sRGB HEX codes, so a P3 export cannot make the swatches themselves more saturated; what a wide-gamut card can preserve is the photo's own colour. And for print, divide pixels by pixels per inch: at the common 300 ppi target, 2048 pixels covers about 6.8 inches on the long edge, 3840 about 12.8 and 6144 about 20.5. A larger print at that density needs more pixels than Tinta exports. If you want to try the export tiers yourself, Tinta is on the App Store.
Which export should you choose?
Pick by destination, not by maximum quality. The safest default is the one that survives being handled by software you do not control.
| Destination | Format | Colour space | Also send |
|---|---|---|---|
| Website, app UI or developer handoff | PNG | sRGB | HEX list as text |
| Social post | PNG, or JPEG if it will be recompressed anyway | sRGB | Nothing; the platform owns the file |
| Designer working on wide-gamut Apple hardware | PNG | Display P3, profile embedded | HEX and P3 values |
| Print shop or photo lab | Whatever they ask for | Ask; if they cannot say, sRGB | A printed proof request |
| Your own archive | PNG at the largest size | The original space | The source photo |
Choose P3 only when someone on the receiving end can see the difference and the file will arrive with its profile intact. Otherwise, sRGB in a PNG is the export that looks the same everywhere.