How to Invert PDF Colors: Dark Mode & Negative Colors
Invert PDF colors for easier reading, dark mode, or accessibility with these simple methods.
Why Invert PDF Colors?
Inverting PDF colors swaps light and dark values, turning white backgrounds black and black text white. There are several practical reasons to do this. Reading light text on a dark background reduces eye strain during long reading sessions, especially at night or in low-light environments. People with certain visual impairments find inverted colors easier to read. And if you are working with scanned negatives or film, inverting colors recovers the original image.
Color inversion is also useful for printing. Inverting a dark PDF before printing can save significant amounts of ink or toner, especially on documents with heavy backgrounds fills.
Browser-Level Color Inversion
Chrome and Edge
Both Chrome and Edge support a built-in dark mode that inverts page colors including embedded PDFs. In Chrome, go to Settings > Appearance > Theme and select Dark. Then enable Settings > Accessibility > Use dark mode for web content. This inverts PDF colors displayed in the browser without modifying the actual file.
Firefox
Firefox has a reader-friendly dark mode. Open a PDF in Firefox, click the menu button, and go to Settings > General > Colors. Check "Manage Colors" and select a dark color scheme. Firefox also supports the pdfjs.viewerCssTheme preference in about:config for more control.
Inverting Colors in Adobe Acrobat
Adobe Acrobat Pro gives you full control over color inversion. Open your PDF, then go to Edit > Preferences > Accessibility (Windows) or Acrobat > Settings > Accessibility (Mac). Check "Replace Document Colors" and choose "Custom Color." Set the page background to black and the text color to white.
This method changes how the PDF displays on your screen without permanently modifying the file. If you need to save the inverted version, you can print the document to a new PDF with the accessibility colors applied.
Inverting Colors on Mac Preview
Mac users can invert PDF colors using a simple system-level shortcut. Open the PDF in Preview, then press Control + Option + Command + 8 to toggle the system color inversion. This inverts the entire display, not just the PDF, so it works system-wide.
For a PDF-specific approach, use Preview to export the PDF pages as images, open them in an image editor, invert the colors, and recombine into a PDF. This is more work but produces a permanent inverted file.
Free Online Tools to Invert PDF Colors
PDF24 Tools
PDF24 offers a free online color inversion tool. Upload your PDF, and it inverts the colors on every page. You can download the modified file immediately. The tool processes files entirely on their servers and deletes them after processing.
iLovePDF
While iLovePDF does not have a dedicated invert tool, you can use its PDF to image converter to export pages as PNG, invert the colors in any image editor, and then convert back to PDF. This gives you more control over the exact inversion effect.
Sejda PDF
Sejda provides color adjustment tools that let you modify brightness, contrast, and color channels. While not a one-click inversion, you can achieve similar results by adjusting color settings. Free tier handles files up to 200 pages.
Browser Extensions for Dark Mode PDFs
Several browser extensions add dark mode to PDF viewing without system changes. Dark Reader is a popular extension for Chrome and Firefox that inverts colors on web pages and embedded PDF viewers. It lets you adjust brightness, contrast, and sepia filtering per site.
Night Eye is another option that provides smart inversion, detecting images and videos to avoid distorting them while inverting text and backgrounds. Both extensions work with PDFs opened in browser tabs.
Permanent Color Inversion with ImageMagick
For batch processing or scripted workflows, ImageMagick can invert PDF colors permanently. Convert the PDF pages to images, invert them, and reassemble:
convert -density 300 input.pdf -negate output.pdf
The -negate flag inverts all color channels. Use -negate -channel RGB to be explicit about which channels to invert. This produces a new PDF with permanently inverted colors.
Accessibility Considerations
Color inversion is an important accessibility feature. Many people with dyslexia, light sensitivity, or low vision benefit from reading with inverted or high-contrast colors. If you are distributing documents to a broad audience, consider providing both light and dark versions, or structuring your PDF so that accessibility readers can apply custom color schemes.
The PDF/UA standard for accessibility recommends using sufficient color contrast ratios regardless of the default color scheme. This ensures your document works well whether the reader uses default colors or inverted ones.