Sub topic 11
Color mode, embedded profiles, and bit depth across formats
This chapter assumes you can create and open documents, you know what layers are, and you understand pixels and resolution. It covers three settings that travel with every Photoshop document: color mode, color profile, and bit depth. Each one limits which formats you can save to. Each one can also change how your colors look after you save.
The three settings and what they control
A document has three separate color settings. People often mix them up, so keep them apart.
- Color mode is the model that describes each pixel. RGB uses red, green, and blue channels. CMYK uses cyan, magenta, yellow, and black. Grayscale uses one channel. Indexed Color uses a palette of at most 256 colors. Bitmap uses only black and white. Lab separates lightness from color.
- Color profile is a data table that says what the numbers in the channels mean as visible color. The values 255, 0, 0 are "full red", but how red depends on the profile. sRGB, Adobe RGB (1998), and Display P3 are common RGB profiles.
- Bit depth is the number of bits stored per channel. It sets how many tonal steps each channel can hold. 8 bits per channel gives 256 steps. 16 bits per channel gives 65,536 steps. 32 bits per channel is a floating-point format used for HDR work.
You set the mode and bit depth under Image > Mode. You manage the profile under Edit > Assign Profile and Edit > Convert to Profile. The name of the profile appears in the status bar and in the title of the document window when you enable that display.
Color mode
Most work is done in RGB, because screens emit red, green, and blue light. CMYK is meant for print, where inks absorb light. Switching modes is a conversion that rewrites the pixel values, and some of it cannot be undone.
| Mode | Typical use | Notes |
|---|---|---|
| RGB | Screens, web, most editing | Supports all Photoshop features |
| CMYK | Commercial print | Smaller gamut, some filters unavailable |
| Grayscale | Black and white images | One channel, color is discarded |
| Indexed Color | Small graphics, GIF | Flattens layers, 256 colors at most |
| Bitmap | Line art, 1-bit masks | Requires Grayscale first |
Converting from RGB to CMYK clips colors that the print profile cannot reproduce. Converting back to RGB does not restore them. If you need both, keep an RGB master and convert a copy.
Which formats accept which modes
The format you choose limits the mode you can save.
- PSD accepts every mode.
- JPEG accepts RGB, CMYK, and Grayscale. It does not accept Indexed Color, Bitmap, or Lab.
- PNG accepts RGB, Grayscale, Indexed Color, and Bitmap. It does not accept CMYK. Photoshop disables the option or converts the image if you try.
JPEG files in CMYK exist, but browsers handle them inconsistently, and some show wrong colors. Do not use CMYK JPEG for web delivery.
Embedded color profiles
An embedded profile travels inside the file. Another program reads it and uses it to translate the numbers into the right color on a screen. A file without a profile is untagged. The program must guess, and most guess sRGB.
The result is a common failure. You edit in Adobe RGB, save without the profile, and open the file in a browser. The browser assumes sRGB. Saturated colors look flat and dull, because values meant for a wide gamut are shown as if they were a narrow one.
Assign versus convert
These two commands sound alike but do opposite things.
- Assign Profile changes the label and leaves the numbers alone. The colors on screen change, because the same numbers now mean something different.
- Convert to Profile changes the numbers so the colors look the same under the new profile. The label changes too.
Use Assign only when a file is untagged or mislabeled and you know its true profile. Use Convert when you want to move a correctly tagged image into another space, such as Adobe RGB to sRGB before web delivery.
How each format handles profiles
| Format | Embeds a profile | How |
|---|---|---|
| PSD | Yes | Stored with the document, controlled by Save As > Color: ICC Profile |
| JPEG | Yes | Optional, controlled by the same checkbox or by Export As |
| PNG | Yes, with caveats | Photoshop can embed a profile, but support in viewers varies |
PNG deserves a note. The PNG specification allows an embedded profile, and also a simple gamma value. Some older viewers ignore both. For graphics aimed at the web, convert to sRGB before saving and treat the profile as a bonus rather than a guarantee.
The sRGB conversion for web delivery
When a photo will be viewed in browsers, apps, or email, convert it to sRGB. The Export As dialog has a "Convert to sRGB" checkbox that does this on the exported copy, so your working document stays in its original space. Save As does not convert for you. It only embeds whatever profile the document already has, if you ask it to.
Bit depth across formats
Bit depth decides how smoothly tones can change. At 8 bits, a smooth gradient has only 256 steps per channel. Heavy editing, such as strong curves or levels adjustments, stretches those steps apart and can produce visible banding, which looks like stripes in a sky or a gradient. Editing at 16 bits keeps more headroom, so adjustments stay smooth.
The formats differ in how much depth they keep:
| Format | 8-bit | 16-bit | 32-bit |
|---|---|---|---|
| PSD | Yes | Yes | Yes |
| JPEG | Yes | No | No |
| PNG | Yes | Yes | No |
JPEG stores only 8 bits per channel. When you save a 16-bit document as JPEG, Photoshop converts the saved copy to 8 bits. Photoshop usually asks you to confirm or does it on export. PNG can store 16 bits per channel, which suits grayscale gradients and some technical images, but the files are large and most web uses do not need it.
A practical workflow
- Work in 16-bit RGB when you plan heavy tonal edits.
- Save the master as PSD, which keeps 16 bits.
- For delivery, save or export a copy and let the format reduce the depth to 8 bits.
Converting to 8 bits is the last step, not the first. If you convert first, the lost steps cannot be recovered.
Checking what a saved file actually contains
You can check your results without guessing. Open the saved file in Photoshop and look at three places.
- Image > Mode shows the color mode and bit depth.
- Edit > Assign Profile shows the current profile, or "Don't Color Manage this Document" if the file is untagged.
- The document title bar or the status bar shows a profile name when configured.
If you work from a script, you can read the same values from the document object. This example prints them for the active document.
// ExtendScript: report mode, bit depth, and profile of the active document
var doc = app.activeDocument;
var profile = doc.colorProfileType === ColorProfile.NONE
? "none"
: doc.colorProfileName;
alert(
doc.name + "\n" +
"Mode: " + doc.mode + "\n" +
"Bit depth: " + doc.bitsPerChannel + "\n" +
"Profile: " + profile
);Common errors and fixes
- Colors look dull in the browser. The file was saved in a wide-gamut profile without conversion, or without an embedded profile. Convert a copy to sRGB and embed it.
- The PNG option is grayed out. The document is in CMYK. Convert a copy to RGB first.
- JPEG is missing from the save list for a 16-bit file. Switch the copy to 8 bits under Image > Mode, then save.
- Colors shift after a CMYK to RGB round trip. Out-of-gamut colors were clipped on the first conversion. Keep the RGB master.
- A mismatch warning appears on open. The file's profile differs from your working space. Choose "Use the embedded profile" unless you have a specific reason to convert.
Exercise
You edit a photo in 16-bit Adobe RGB (1998) and save a PSD master. A client needs a JPEG for a website. List the steps that protect the colors and the master, and say which setting must change for JPEG.
Show answer
Keep the PSD master unchanged. For the JPEG, use Export As (or Save a Copy) so the master stays open and unchanged. Convert the copy to sRGB, for example with the "Convert to sRGB" checkbox in Export As, and embed the profile. The bit depth must change from 16 to 8 bits, because JPEG stores only 8 bits per channel. Photoshop does this on the saved copy. Choose a suitable quality value and save.
Exercise
A colleague uses Edit > Assign Profile to change a correctly tagged Adobe RGB image to sRGB, hoping the colors will match on the web. What actually happens, and what should they have used?
Show answer
Assign Profile relabels the file without changing the pixel numbers, so the image appears with different, usually duller colors. They should have used Edit > Convert to Profile, which recalculates the numbers so the colors look the same in sRGB.