How to Invert Colors in Photoshop (Step by Step)
Learn how to invert colors in Photoshop with an adjustment layer, shortcut, or layer mask, then compare it with a free browser color inverter.

On this page
Quick answer
The best way to invert colors in Photoshop is to add an Invert adjustment layer. Open the image, select Layer → New Adjustment Layer → Invert, and confirm the new layer. The image changes immediately, while the original pixel layer remains untouched beneath it.
For a fast direct edit, select the correct pixel layer and use Image → Adjustments → Invert or press Ctrl+I on Windows and Command+I on macOS. That method changes the active target directly, so it is less flexible than an adjustment layer.
If you only need to invert one image and download the result, the browser tool on this site is quicker: there is no desktop installation, no account, and processing stays on your device. It does not replace Photoshop's layers and masks; it removes those steps when the job is simply “invert this file.”
What color inversion does
In an 8-bit RGB image, basic inversion replaces each color channel with its opposite value on the 0–255 scale: R′ = 255 − R, G′ = 255 − G, and B′ = 255 − B. Black becomes white, red becomes cyan, green becomes magenta, and blue becomes yellow. Midtones move to the corresponding value on the other side of the scale.
That creates a digital negative effect, but it is not the same command as Select → Inverse. Color inversion changes pixel values. Inverse Selection keeps the pixels unchanged and swaps the selected and unselected areas. If a tutorial says “invert the selection,” it is describing a selection workflow, not a color effect.

Method 1: use an Invert adjustment layer
This is the recommended method because it is reversible and keeps the source pixels available.
- Open the image in Photoshop.
- In the Layers panel, select the image layer you want the adjustment to sit above.
- Open the Adjustments panel and choose Invert, or use Layer → New Adjustment Layer → Invert.
- Name the layer if the document will contain several edits, then confirm it.
- Toggle the eye icon beside the adjustment layer to compare the original and inverted versions.
Adobe describes adjustment layers as changes stored separately from the image content. They affect the layers below without permanently replacing their pixel values. That makes it easy to hide the effect, change the stacking order, limit it with a mask, or keep working with Levels and Curves later. See Adobe's adjustment and fill layer overview.

An Invert adjustment has no sliders of its own: it either applies the mathematical inversion or it does not. If the result looks flat, add a separate Levels, Curves, or Brightness/Contrast adjustment above it. Keeping each purpose on its own named layer makes the document easier to understand and revise.
By default, an adjustment layer affects every visible layer below it. To limit it to the layer immediately underneath, create a clipping mask. This matters in composites where the background should remain unchanged.
Method 2: use the direct command or shortcut
For a disposable copy or a very simple file, you can apply inversion directly:
- Select the intended pixel layer in the Layers panel.
- Choose Image → Adjustments → Invert.
- Alternatively, press Ctrl+I on Windows or Command+I on macOS.
Adobe notes that the Image-menu version is a direct adjustment that discards image information. Duplicate the layer first if you may need the original pixels later. An adjustment layer is usually the safer default.

The shortcut is context-sensitive. If the white layer-mask thumbnail is active, the shortcut inverts the mask instead of the image pixels. If a channel is active, it acts on that channel. Look for the highlight around the correct thumbnail before pressing the keys.
Also check for an active selection. A direct adjustment may affect only the selected pixels. Use Select → Deselect when you intend to invert the entire active layer.
How to invert only part of an image
Photoshop becomes more useful than a one-click tool when the effect must follow a subject, object, or background.
- Use a selection tool such as Marquee, Lasso, Object Selection, or Quick Selection.
- Select the area that should receive the inverted colors.
- Add an Invert adjustment layer.
- Photoshop converts the selection into the adjustment layer's mask.
- Paint on the mask to refine it: white reveals the adjustment, black hides it, and gray applies it partially.
Adobe's targeted adjustment guide confirms that a selection becomes the visible white area of the mask while the unselected black area hides the adjustment.

If the wrong side changes, select the mask thumbnail and invert the mask. This is one place where Ctrl+I or Command+I is useful: black and white swap, so the protected and adjusted regions trade places without rebuilding the selection.
For softer transitions, feather the mask or paint with a soft brush at reduced opacity. For a hard-edged icon, keep the mask crisp so the boundary remains clean.
Save the editable file, then export a copy
Save a layered document as PSD when you want to preserve adjustment layers, masks, and future editability. Export a separate image for sharing or publishing.
- Choose PNG for transparency, screenshots, graphics, or another lossless editing step.
- Choose JPG for photographs where a smaller file is more important than transparency.
- Use another format only when the receiving website or application supports it.
Keep the PSD as the working master. Flattening or exporting is fine for delivery, but it removes the layer structure that makes the Photoshop method valuable.
Photoshop vs Color Inverter
Both methods can produce a basic RGB inversion. The real difference is the workflow around that operation.
| Comparison | Photoshop | Color Inverter |
|---|---|---|
| Installation | Desktop application and Photoshop access required | Runs in a supported browser |
| Time for one simple image | Open, choose layer, apply, export | Upload, process, download |
| Non-destructive layers | Yes, with an Invert adjustment layer | No layered document |
| Selections and masks | Yes | No selective masking |
| Continued professional correction | Levels, Curves, masks, blend modes, and more | Invert, grayscale, and horizontal or vertical flip |
| Where processing happens | On the computer running Photoshop | In the current browser; the source image is not uploaded |
| Export choices covered here | PSD working file plus common image exports | PNG, JPG, and WebP; clipboard copy uses PNG |
| Transparency | Preserved when the document and export format support it | Preserved in PNG and WebP; JPG places transparency on white |
| Best fit | Layered projects, composites, selective edits, continued retouching | A quick, private, one-image conversion |

Use Photoshop when you need to revisit decisions, isolate a subject, combine the inversion with other corrections, or deliver an editable layered file. Use Color Inverter when the task is complete as soon as one image has been reversed and downloaded.
Common problems and fixes
The shortcut inverted the mask, not the photo
The mask thumbnail was active. Click the pixel thumbnail if you intend to change pixels, or use an adjustment layer so the operation remains separate. The highlight around a thumbnail tells you which target Photoshop will edit.
Only one area changed
An active selection is restricting the operation. Deselect it to affect the full layer, or keep it and use the selection to build a deliberate adjustment-layer mask.
Every layer below changed
That is the normal behavior of an adjustment layer. Reorder it, place it inside the correct group, or clip it to the intended layer.
Select Inverse did not change the colors
It is a selection command. After reversing the selected area, apply an Invert adjustment or direct pixel command if color inversion is the actual goal.
A transparent area became white
The file was probably exported as JPG. JPG cannot preserve alpha transparency. Export PNG when the transparent area must remain transparent. The browser tool follows the same rule and flattens JPG transparency onto white.
A scanned color negative still looks wrong
Basic inversion is not a complete color-film conversion. Adobe warns that color print film's orange mask prevents the Invert adjustment from producing an accurate positive by itself. Proper scanning, channel balancing, exposure correction, and color grading are still needed. Basic inversion remains useful for black-and-white negatives, a rough preview, or a creative negative effect.
Which method should you choose?
Choose the Invert adjustment layer when the image belongs to a larger Photoshop project or when you may change your mind. Choose the direct shortcut only when you understand which layer, mask, or channel is active and do not need the operation separated from the pixels. Choose the browser tool when speed and a finished image file matter more than layers.
Working on a phone instead of a desktop? Read How to Invert Colors on iPhone to distinguish temporary screen inversion from permanently editing a photo.
FAQ
Photoshop color inversion FAQ
What is the shortcut to invert colors in Photoshop?
With the correct pixel layer or layer mask active, press Ctrl+I on Windows or Command+I on macOS. The shortcut acts on the active target, so check the Layers panel before using it.
How do I invert colors without destroying the original image?
Add an Invert adjustment layer from the Adjustments panel or choose Layer, New Adjustment Layer, Invert. It stores the change separately and preserves the source pixels.
How do I invert only part of an image in Photoshop?
Select the area first and then add an Invert adjustment layer. Photoshop turns the selection into a layer mask: white reveals the inversion and black hides it.
Is Invert Colors the same as Inverse Selection?
No. Invert Colors changes pixel color values. Select, Inverse changes which area is selected without changing any colors.
Does inverting an image twice restore the original colors?
For ordinary 8-bit RGB values, applying the same inversion twice returns the channels to their starting values. Other edits, color conversions, or lossy exports can still introduce differences.
Should I use Photoshop or an online color inverter?
Use Photoshop when you need layers, masks, selective editing, or continued color correction. Use the browser tool for a quick one-image conversion without installing or opening a layered project.
Can Photoshop Invert accurately convert a scanned color negative?
Not by itself. Color print film commonly has an orange mask, so accurate conversion needs a dedicated scanning and color-correction workflow beyond basic inversion.