Sumatra PDF is a PDF, ePub, MOBI, CHM, XPS, DjVu, CBZ, CBR reader for Windows

How to change bookmarks text or background color

I have the latest version.
This is what it looks like right now. I cant find where to change color of text in bookmarks sidebar. Its very hard to read since stays black while the background and other text changes to a darker theme. Please help. Thank you

You are probably using 3.2 ?
Latest version should look like this, where only the current entry is greyed out

For “Night Light” mode it is best to use a fully uniform f0f0f0 value like this that coupled with the red cast still gives good contrast and images dont get inverted

Thank you for the reply!! In the image I’ve posted the current entry has been greyed out ( 1 introduciton) its just hard to spot because of the color and small font. So i guess I’m using 3.2 version.

I just downloaded sumatra a few days ago so I dont know what “fully uniform value” and red cast means. Could you please explain?

Actually testing version 3.2 it does reverse the bookmarks area so not sure which version you are using, can you tell what is showing from Help About at the bottom as the last change, for 3.2 it is fc8f35a but will be different for other versions.
Is it just that one file that has the problem ?, then if so the colour is fixed by the document and can not be reversed.

By red cast I mean the “warm” shift in color range recommended for night reading that is applied when you switch on windows Night Light
By using a uniform grey value of #f0f0f0 you are not negating that shift but for twighlight reading it softens the harsh white more than 6% without loosing too much contrast.

FixedPageUI [
	TextColor = #000000
	BackgroundColor = #f0f0f0
	SelectionColor = #ffff00
	WindowMargin = 2 4 2 4
	PageSpacing = 4 4
	GradientColors = #f0f0f0

you can use the same value for ebookUI and chmUI as I did above.

I am using 3.2. Home->About says fc8f35a. I also tried to update it just in case and it says no new updates are available.

Its not problem with only 1 book. I’ve attached screenshot of a second book which has the same issue.
What I’ve noticed is that if the book is in pdf format (one with green background), bookmarks stay black. However, when the book is in epub format (blue background), they change color along with the rest of the text. Since new users can only post one media per post, ill attach the epub screenshot in other comment

I’d be using your recommended settings for time being.

heres the epub

Perhaps a bad mix of settings ? You could exit sumatraPDF and rename the SumatraPDF-settings.txt (in case you have other settings you wish to revert to.
On restart it will build a new one then add (cut and paste) entries one a time to see which one is perhaps causing that effect.
I may have a different pirate copy but with your example above I see (ignore the different toolbar that is an official 3.2 ability)

looking closer at your example I see a difference in that yours is correctly applying black text to the “Page” in toolbar whereas you can see mine is converting that text to white on white thus it is not visible which is a known bug ?

OK I seem to have got a result similar to yours but it took me some trials as those settings are unatural to me, it looks like the values you have set are outside the normal range they should only be six hex values #123456

For white bookmarks & text TextColor = #ffffff
but if its TextColor = #ffffffff then I get the dark bookmarks

1 Like

I changed the hex values to the given format (#123456) and that fixed issue!!! Thank you so much for sticking thru it and fixing the issue!! Given the solution I realize I should’ve posted a copy of the settings in my original post. I’ll make sure to include that if I ever need help again.

I changed the background color to white but I don’t want all in white. I would like the bookmarks background to be a light grey. Is it possible to do that and how? Thanks

You set the foreground and background colors using as shown above

FixedPageUI [
	TextColor = #000000
	BackgroundColor = #f0f0f0

That will provide a black text on soft grey background (see the third picture down in this thread), its perfect for reading at any time of day or night.
When Bookmarks or Favourites are not the same as the core page colours its considered a bug. They should always be the same contrast.
If you want the margins also soft grey use pre-release and add

 	GradientColors = #f0f0f0