ThisCalculator

Everyday

How to Invert Image Colors in Mac Preview

Updated · Standard formula, shown below

This guide shows you how to invert the colors of an image using the Preview app on your Mac. Inverting turns light areas dark and dark areas light, creating a negative effect that can be useful for artistic purposes, creating high-contrast versions, or preparing images for printing on dark backgrounds. You only need the image file and Preview, which comes free with every Mac.

What You’ll Need

  • A Mac running macOS (any recent version, including Ventura, Sonoma, or Sequoia).
  • The image file you want to invert (JPEG, PNG, TIFF, HEIC, or other common formats).
  • Preview app (pre-installed on all Macs).

Step-by-Step

  1. Open the image in Preview. Locate the image file in Finder, then double-click it. If it opens in a different app, right-click (or Control-click) the file, choose Open With, and select Preview.
  2. Open the Tools menu. In the menu bar at the top of the screen, click Tools. If you don’t see the menu bar, make sure Preview is the active app (click the Preview window).
  3. Select “Adjust Color”. From the Tools dropdown, click Adjust Color. This opens a small color adjustment panel with sliders and a histogram.
  4. Locate the “Invert” button. In the Adjust Color panel, you’ll see a row of buttons near the top. One of them is labeled Invert. It looks like a small rectangle with a diagonal arrow (or two overlapping triangles). Hover over it to confirm.
  5. Click Invert. Click the Invert button. The image will instantly become a negative: colors are replaced with their complementary hues, and brightness is reversed.
  6. Close the Adjust Color panel. Click the red close button (top-left of the panel) or press Cmd+W (but not while editing text). The panel disappears, leaving your inverted image.
  7. Save the inverted image. Go to File > Save (Cmd+S) to overwrite the original, or File > Export (Shift+Cmd+S) to save a copy with a new name or format. If you export, choose a format like JPEG or PNG and click Save.

That’s it. Your image is now inverted. The original file remains untouched if you used Export.

Common Mistakes

  • Using the wrong app: If you open the image in Photos or another editor, the Tools menu won’t have Adjust Color. Always use Preview.
  • Not seeing the Invert button: The Invert button is small and easy to miss. It’s located in the Adjust Color panel, not in the main toolbar. Make sure the panel is open (Tools > Adjust Color).
  • Inverting a selection instead of the whole image: If you made a selection (dashed border) before opening Adjust Color, only that area gets inverted. To invert the entire image, press Cmd+D to deselect first.
  • Forgetting to save: Inverting is not permanent until you save. If you close the window without saving, the change is lost.
  • Overwriting the original: If you use Save, the original file is replaced. If you want to keep the original, use Export or Duplicate first.

Tips

  • Use Export for flexibility: Export lets you choose a new file name, format, and quality. For a PNG, you can also adjust the color profile.
  • Combine with other adjustments: After inverting, you can adjust brightness, contrast, saturation, and exposure using the same Adjust Color panel. This can create striking effects.
  • Invert only a part: Select a region with the selection tool (e.g., rectangular or lasso) before opening Adjust Color. The inversion will apply only to that selection.
  • Use keyboard shortcut: There is no default shortcut for Invert, but you can create one in System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts. Add a shortcut for Preview’s “Invert” command.
  • Work with a copy: Before inverting, duplicate the image (Cmd+Shift+S) to keep the original safe, especially if you’re experimenting.

Troubleshooting

  • The Invert button is grayed out or does nothing: This can happen if the image is in a mode that doesn’t support inversion (e.g., some indexed color modes). Try converting the image to a standard format: In Preview, go to File > Export, choose PNG or JPEG, and save. Then open the new file and try again.
  • I can’t find the Adjust Color option: Make sure you have the image open in Preview, not in another app. If you’re in Preview and still don’t see it, check that the image isn’t locked (in the file’s Get Info, ensure “Locked” is unchecked).
  • The inverted image looks washed out or odd: This is normal for some images, especially those with low contrast. You can improve it by adjusting the contrast slider in the same panel after inverting.
  • I inverted the wrong image and saved: If you used Save, the original is gone. If you have Time Machine or a backup, you can restore it. Otherwise, you can invert again to get back to the original (since inversion is its own inverse).
  • Preview crashes or freezes: Close Preview and reopen the image. If it persists, try copying the image to a new file (right-click > Duplicate) and open that.

Frequently Asked Questions

  • Does inverting affect the original file? Only if you use Save. If you use Export, a new file is created, and the original remains unchanged.
  • Can I invert a PDF in Preview? Yes, but the process is slightly different. You need to select the page (or pages) you want to invert, then use the same Adjust Color panel. However, inverting a PDF may not work if the PDF contains text or vector graphics; it works best on scanned images.
  • Why would I want to invert an image? Common reasons include creating a negative for printing, making a high-contrast version for a presentation, or simply for artistic effect. It can also make text on a dark background more readable when inverted.
  • Can I invert multiple images at once? Preview does not have a batch invert feature. You can open multiple images in separate windows and invert each one, but there’s no one-click batch process. For batch, you’d need a third-party tool or Automator.
  • Is there a way to invert without using the mouse? You can use the keyboard to navigate: press Cmd+Shift+A to open Adjust Color (if that shortcut is available), then use Tab to move focus to the Invert button and press Space to click it. Alternatively, set a custom keyboard shortcut in System Settings.
  • Does inverting work on all image formats? It works on most common formats like JPEG, PNG, TIFF, and HEIC. Some specialized formats (e.g., RAW) may not open in Preview directly, but you can convert them first.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.