Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to change the background color. I would like to change it to something easier to read, is there an option to change this anywhere?

share|improve this question

If you run SumatraPDF with the command-line option -bg-color 0xffff99 it will launch SumatraPDF with the new background color, and save the background color as your default.

The 0xffff99 part is the hex code for a lighter yellow.

Alternatively, the following command line option can be used:

  • -invert-colors

    Swaps text and background color for most documents

Refer to for more information.

Refer to for more information regarding customizing colors in SumatraPDF-settings.txt (customizable by navigating to Menu -> Settings -> Advanced Settings)

Refer to to create a shortcut to always open SumatraPDF in this mode.

SumatraPDF website:

share|improve this answer

You can apply Windows theme to your document using SumatraPDF options dialog. So, if you're using nice background color in Windows, Sumatra will use it too (works perfectly for me in classic Windows theme).

share|improve this answer

This can now be changed in the "Settings->Advanced Options...", you just need to edit the "MainWindowBackground" entry near the top.

share|improve this answer

Go to 'Settings' > 'Advanced Options...' It will open SumatraPDF-settings.txt file in the text editor. Then change the hex value of BackgroundColor option under FixedPageUI or any other corresponding *UI section.

More details

share|improve this answer

If you use dark theme for windows colors and want it used on SumatraPDF. Find SumatraPDF/SumatraPDF_settings.txt and one of the first lines UseSysColors can be changed from false to true.

share|improve this answer

Unfortunately, I believe it's not possible.

The -bgcolor argument will only change the background color of the start-up screen.

share|improve this answer
thanks. i emailed the creater of reader to see if he can help – benny856694 Oct 7 '09 at 9:11

There's a command line option to invert colors:

sumatrapdf.exe -invert-colors

Basically for black-text-on-white it will produce white-text-on-black, while making other colors still readable just by inverting them also (in PDF-Xchange on contrary, if there are e.g. gray boxes, their contents might become unreadable afterwards).

Additionally, there's -set-color-range option which is more general:

sumatrapdf.exe -set-color-range 0x00dd00 0x000000

This will produce green text on black background and scale other colors appropriately.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.