This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Override background color in Firefox

  • 7 پاسخ
  • 3 have this problem
  • 29 views
  • آخرین پاسخ توسّط Terry

more options

I want to change background color in Firefox from white to gray (because my eyes get tired of white)

I try to change it this way: Preferences -> Language and appearance -> Font -> Colors

But it does not work as expected on some complex web sites. All I want to do is to darken the background, but not to change color of other elenments (links, text, scrollbars).

Can I do it in Firefox ? How [Preferences -> Language and appearance -> Font -> Colors] works in Firefox? Perhaps, there is some "override css" for the entire browser?

I want to change background color in Firefox from white to gray (because my eyes get tired of white) I try to change it this way: Preferences -> Language and appearance -> Font -> Colors But it does not work as expected on some complex web sites. All I want to do is to darken the background, but not to change color of other elenments (links, text, scrollbars). Can I do it in Firefox ? How [Preferences -> Language and appearance -> Font -> Colors] works in Firefox? Perhaps, there is some "override css" for the entire browser?
Attached screenshots

All Replies (7)

more options

After some investigation I figured out the problem. Firefox can change bachground color of the page (browser.display.document_color_use = 2) , but in that case in changes links color to browser.anchor_color. But I don't want to change links color ! Only to darken the background a little!

Firefox developers, PLEASE HELP!!!

Modified by pprogrammer1234

more options

Hey, You can try using https://addons.mozilla.org/en-US/firefox/addon/photon-colors/. I am using it for some time now and it is quite similar to the previous theme.

more options

Mamoon сказал(а)

Hey, You can try using https://addons.mozilla.org/en-US/firefox/addon/photon-colors/. I am using it for some time now and it is quite similar to the previous theme.

No, I don't want to change Firefox UI color! I want to change background color of the web page itself. On the screenshot the web page background is white still.

more options

I use an add-on Page Shadow: https://addons.mozilla.org/en-GB/firefox/addon/page-shadow/

I also use a bookmarklet "zap white backgrounds".

more options

Hello I'm posting here because I've been looking for the post new question option and have not found any, why such complication just to post a question ?? Regarding the issue whenever I install a dark theme google main page goes black how can I do it without this happening or at least have a way to change this page's background color ?

Thank you

more options

Hands B said

Hello I'm posting here because I've been looking for the post new question option and have not found any, why such complication just to post a question ?? Regarding the issue whenever I install a dark theme google main page goes black how can I do it without this happening or at least have a way to change this page's background color ? Thank you

Hover over the words "Get Help" at the top of the page and you will see a number of links.

more options

pprogrammer1234 said

After some investigation I figured out the problem. Firefox can change bachground color of the page (browser.display.document_color_use = 2) , but in that case in changes links color to browser.anchor_color. But I don't want to change links color ! Only to darken the background a little! Firefox developers, PLEASE HELP!!!

I know of no way of getting help from developers. The preferences don't seem to help. browser.display.background_color browser.display.foreground_color

Modified by Terry