Home › PDF Tools › Invert PDF Colors

Invert PDF Colors

Make any PDF easier on the eyes at night. Invert it into white-on-black, use a dark mode that keeps colors recognisable, or pick a warm night sepia or your own background and text colors, then download a new dark PDF that works in every reader and e-reader.

Advertisement
Advertisement

How to use the Invert PDF Colors

  1. Open a PDF with the Choose PDF button or drag it onto the drop area.
  2. Pick a style: Invert, Dark mode (keeps colors), Night sepia, Dark gray or Custom with your own two colors.
  3. Check the preview and use the arrows to look at other pages.
  4. Choose the resolution: 150 DPI suits screens and tablets; use 200–300 DPI for small print.
  5. Press Convert, wait for the pages to finish and download the dark PDF.

How each style changes the colors

Every page is rendered exactly as a PDF reader shows it, then each pixel's red, green and blue values (0–255) are transformed:

StyleFormulaWhite paperBlack textRed (220, 40, 40)
Invertc′ = 255 − cblackwhitecyan (35, 215, 215)
Dark modec′ = c + 255 − max − minblackwhitered (215, 35, 35)
Night sepia / Dark gray / Customt = 1 − Y/255, color = bg + (text − bg) × tbackground colortext colora tone between the two

Dark mode flips the lightness of each color while keeping its hue and saturation, the same idea as the "smart invert" accessibility setting on phones. The themed styles first compute brightness with the luminance formula Y = 0.299 R + 0.587 G + 0.114 B and then blend between your background and text colors, so every page uses just those two tones. Soften contrast moves both ends toward mid-gray, which reduces glare from bright white text.

Which style to choose

  • Invert: plain black-and-white documents, code listings and scanned text. Maximum contrast.
  • Dark mode: slides, charts, highlighted notes and anything where colors carry meaning.
  • Night sepia: long reading sessions before bed; warm tones and softer contrast.
  • Dark gray: a neutral, less harsh alternative to pure black backgrounds, good on OLED tablets.
  • Custom: match your e-reader theme, or try light text on navy or dark green.

Photos are inverted too and will look like negatives in Invert mode; Dark mode keeps them recognisable but still flips light and dark areas.

Resolution and file size

A4 at 150 DPI is 1240 × 1754 pixels per page, which looks sharp on most tablets and laptops. Choose 200 DPI for small print or high-density screens, or 100 DPI for the smallest file. Dark pages compress well as JPEG, but a text-only PDF will still grow because each page becomes an image. For printing, use the original or Grayscale PDF; to invert a single picture, use Invert Image Colors.

Frequently asked questions

How do I invert the colors of a PDF?

Open the PDF here, keep the Invert style and press Convert. Every page is rendered, each pixel's red, green and blue values are replaced by 255 minus the value, and the pages are saved into a new PDF that you can download and open in any reader.

What is the difference between Invert and Dark mode?

Invert turns every color into its opposite, so white becomes black but red also becomes cyan and photos look like negatives. Dark mode flips only the lightness and keeps the hue: white paper becomes black, black text becomes white, and a red heading stays red. Use Dark mode for documents with colored charts or highlights.

Is dark mode really easier on the eyes?

Many people find light text on a dark background more comfortable in a dim room because the screen emits less light overall. In bright surroundings dark text on a light background is usually easier to read. Night sepia is a middle ground with warm, softer contrast.

Can I still select and search the text?

No. To guarantee the colors look the same in every reader, each page is converted into an image, so text can no longer be selected or searched. Keep the original PDF for copying text, or run the result through OCR.

Why is the dark PDF larger than the original?

Text PDFs store letters as small vector instructions, while the converted file stores a picture of every page. Lower the resolution to 100–150 DPI or reduce the JPEG quality for a smaller file, or compress it afterwards.

Will printing the inverted PDF use a lot of ink?

Yes. A dark background covers the whole page with ink or toner, so inverted PDFs are meant for screens, tablets and e-readers. Print the original instead, or use the Grayscale PDF tool if you want to save color ink.

Related tools

Grayscale PDFConvert a color PDF to grayscale or pure black and white for printing, right in your browser.Compress PDFReduce PDF file size while keeping it readable.PDF to JPGTurn PDF pages into high-quality JPG images.PDF ViewerOpen and read PDF files in your browser with zoom, search, thumbnails and fullscreen.Merge PDFCombine several PDF files into one document.JPG to PDFCombine JPG photos into one PDF with page size, margins and orientation options.PDF to WordConvert PDF files to editable Word documents.PDF to ExcelExtract tables from PDF files into an Excel spreadsheet (XLSX) or CSV, right in your browser.PDF to PNGConvert PDF pages to PNG images with custom DPI and transparent background.Word to PDFConvert Word DOCX documents to PDF.Image to PDFConvert JPG, PNG, WEBP and more into a PDF.Split PDFExtract pages or split a PDF into separate files.Delete PDF PagesRemove pages from a PDF using a visual thumbnail grid.Rotate PDFRotate one page or all pages of a PDF by 90, 180 or 270 degrees.Add Page Numbers to PDFNumber PDF pages with your choice of position, format and font.Watermark PDFStamp a text or logo watermark on PDF pages with custom opacity.Invoice GeneratorCreate professional invoices and save them as PDF.Sign PDFDraw, type or upload a signature and place it on any PDF page, free and private.Fill PDF FormFill in PDF form fields online: text boxes, checkboxes, radio buttons and dropdowns.PDF Metadata EditorView and edit a PDF's title, author, subject, keywords and dates, or clear them all.PDF to Text ConverterExtract the text from any PDF page by page, then copy it or save it as a TXT file.Text to PDF ConverterTurn plain text or a .txt file into a clean PDF with your font, size, margins and page size.HTML to PDF ConverterPaste HTML and CSS, preview it as pages and download a PDF, safely in your browser.Markdown to PDF ConverterWrite or paste Markdown, preview it with a clean theme and export a polished PDF in seconds.Excel to PDF ConverterConvert Excel and CSV sheets into tidy, paginated PDF tables with repeated headers.Flatten PDFFlatten PDF form fields and annotations into the page so they can no longer be edited.PDF Word CounterCount words, characters and lines in a PDF, page by page, with top words and CSV export.Organize PDFReorder, rotate, delete and duplicate PDF pages with drag-and-drop thumbnails.Crop PDFTrim PDF margins by dragging a crop box on the page, for all pages or selected ones.Resize PDFChange PDF page size to A4, Letter, Legal, A3 or custom and scale content to fit.Extract Images from PDFPull every embedded photo and graphic out of a PDF as PNG or JPG, or save pages as images.Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.PDF EditorAdd text, whiteout, shapes, images and drawings to any PDF page, then save a new PDF.Resume BuilderFill in a simple form, pick one of 3 clean templates and download your resume as a PDF.PDF to PowerPointTurn every PDF page into a PowerPoint slide (PPTX) in 16:9, 4:3 or the PDF's own size.PDF to MarkdownConvert PDF to clean Markdown with headings, lists, tables, bold, italics and links.PDF to HTMLConvert PDF to a clean, responsive HTML page or an exact positioned layout, in your browser.Compare PDFCompare two PDF files and see added, removed and changed text side by side, page by page.Insert Pages into PDFInsert blank pages or pages from another PDF anywhere in your document, privately in your browser.PDF Page CounterCount the pages of many PDFs at once, with totals, page sizes and a CSV export.Add Header and Footer to PDFAdd header and footer text with page numbers, date and file name to every PDF page.PDF N-UpPrint 2, 4, 6, 9 or 16 PDF pages per sheet with your own order, margins and borders.PDF Booklet MakerTurn a PDF into a print-ready folded booklet: pages imposed 2 per sheet in saddle-stitch order.PDF to Long ImageStitch all PDF pages into one tall PNG or JPG image, with gap, width and page range options.PNG to PDFConvert PNG images to one PDF, keeping transparency or filling it with white or any color.HEIC to PDFConvert iPhone HEIC photos into one PDF in your browser, with page size, margins and reordering.CSV to PDFTurn a CSV file into a clean, paginated PDF table with repeating headers.Add Stamp to PDFStamp APPROVED, PAID, DRAFT or custom text with a date onto any PDF page.Remove Blank Pages from PDFFind and delete empty or near-blank pages in a PDF automatically.