How to change default window background color in Windows 10?

26

9

In Windows 7 and Windows XP it was very easy to change the default background color of all windows to whatever you want. Staring at white window backgrounds all day is hard on the eyes. Once changed, ALL windows of all apps would conform to the custom color as long as the apps allowed the windows bg to be invoked. So for example it worked great in Notepad and many other apps.

Then the geniuses at M$ decided that this feature was no longer needed in Windows 8, and removed it. There were some reg hacks, but nothing standard. I remember reading that the feature would be coming back in Windows 10, but I'm not finding this to be the case. The only [partial/broken] way I have found to be able to do this is to tweak the following registry keys:

[HKEY_CURRENT_USER\Control Panel\Colors]
"Window"="227 221 191"

[HKEY_CURRENT_USER\Control Panel\Desktop\Colors]
"Window"="227 221 191"

When I changed those keys to my chosen soothing color and rebooted, it worked ONE TIME. After every reboot thereafter, all the white backgrounds are back AND YET those registry keys still have my custom RGB codes. I really hate Microsoft right now, but that aside, is there any solid way to change windows 10 bg colors and make it stick?

Important: In Settings -> Personalization -> Colors, none of that changes windows backgrounds. Already tried.

I am using Windows 10 Enterprise Version 1511 Build 10586.3.

UPDATE: I rebooted again and the bg colors work correctly...but later in the day all the window bgcolors were back to white again. Windows 8.1 had the exact same bug. My conclusion is that the reg hack "works" but only intermittently. Is this simply a MS bug? Or is there a better answer/solution?

HerrimanCoder

Posted 2015-11-19T16:58:26.720

Reputation: 397

What build of Windows 10 are you using specifically? – Ramhound – 2015-11-19T17:05:02.203

I am using Windows 10 Enterprise Version 1511 Build 10586.3. – HerrimanCoder – 2015-11-19T17:12:39.790

Note: I rebooted again and the bg colors work correctly this time. I have little confidence that it will stick, including after new reboots. But here's hoping. – HerrimanCoder – 2015-11-19T17:46:37.660

Check out the link below it might help you out http://www.tenforums.com/tutorials/3380-color-appearance-change-windows-10-a.html

– None – 2015-11-19T17:21:39.090

If you don't want to twiddle with the registry yourself, then try "Winaero Tweaker". Any changes it makes, stick. As a bonus, it has many other useful tweaks. – Rohit Gupta – 2015-11-20T00:53:11.877

1I tried Winaero Tweaker - it doesn't change windows bgcolors. – HerrimanCoder – 2016-05-06T12:13:07.917

Answers

15

Apologies for the late answer. It had completely skipped my mind.

I haven't tested this solution thoroughly but it seems to do the job. You'll need to switch to a High Contrast theme for this to work. After you apply the theme, Windows should look like this:

Windows 10 High Contrast Black Theme

Context Menus and Metro UI apps are also affected:

Windows Notepad High Contrast Black Context Menu Windows 10 Settings App High Contrast Metro UI

If you use Google Chrome for web browsing, it'll prompt you to install the High Contrast extension after you apply the High Contrast theme so you can also browse the web in high contrast. You can also use the extension without enabling High Contrast mode.

As @Unsigned mentioned earlier, enabling High Contrast may change the look of several UI elements.

If you still want to enable High Contrast mode, you can copy the following into Notepad and save it as a .theme file and double-click on it to apply it.

[Theme]
DisplayName=High Contrast Black

[Control Panel\Colors]
Background=0 0 0
Window=0 0 0
Menu=0 0 0
InfoWindow=0 0 0
WindowFrame=0 0 0
AppWorkspace=0 0 0
ButtonFace=0 0 0
ButtonHilight=0 0 0
ButtonLight=0 0 0
HilightText=255 255 255
Titletext=255 255 255
WindowText=255 255 255
ButtonText=255 255 255

[Control Panel\Desktop]
TileWallpaper=0
WallpaperStyle=10

[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\AeroLite.msstyles
ColorStyle=NormalColor
Size=NormalSize
HighContrast=1

[MasterThemeSelector]
MTSM=DABJDKT

I'm not sure if every one of those entries is necessary, so feel free to experiment. I found some information on the color section here, if it helps (link broken; WaybackMachine mirror).

EDIT:
If you do not want to enable High Contrast mode and only need to change the background window color from white to something else, you can use this theme instead:

[Theme]
DisplayName=Beige

[Control Panel\Colors]
Window=227 221 191

[Control Panel\Desktop]
TileWallpaper=0
WallpaperStyle=10

[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\AeroLite.msstyles
ColorStyle=NormalColor
Size=NormalSize

[MasterThemeSelector]
MTSM=DABJDKT

Just copy that to into Notepad and save it as beige.theme and double click on the file to apply the theme. Windows should look like this after you apply it:

Windows beige window background

You do not have to enable High Contrast mode or save the theme file to a particular location for it to work. Make sure that %SystemRoot%\resources\themes\Aero\ contains a file named AeroLite.msstyles.

Vinayak

Posted 2015-11-19T16:58:26.720

Reputation: 9 310

2Vinayak, will this high-contrast theme allow me to change the background color to something other than black? I don't want black, and in fact it's not really a high-contrast theme that I want. I want a background color that is somewhat beige, and all font colors just windows default, etc. – HerrimanCoder – 2016-05-21T17:21:04.983

@SweatCoder Something like this?

– Vinayak – 2016-05-21T19:07:40.557

@SweatCoder I used the RGB values in your question and it looks like this.

– Vinayak – 2016-05-21T19:14:01.027

Wow! This looks promising. Would you mind editing your answer with my RGB values (227 221 191), and give exact steps to apply it? I get saving the file from notepad, but does it need to be in a certain location first? Do I have to switch to High Contrast before applying the new theme? How is it applied exactly? Etc. Etc. I'll award your answer as soon as I can repro and get this working on my PC. Thanks! – HerrimanCoder – 2016-05-22T02:00:27.073

@SweatCoder I edited my answer. There's nothing special about applying the theme. You only need to double click on the .theme file to apply it. – Vinayak – 2016-05-23T09:28:20.230

@SweatCoder Thanks for this. Saved my bacon during Windows 10 upgrades in a corporate setting! – Michael Frank – 2016-06-08T01:38:28.150

4I finally got this all working, thanks to your answer, but I want to add a critical element. The BEST/EASIEST way to change windows bgcolor is to find an existing theme you like (downloaded from MS or whatever) and edit that theme. Most the time it will NOT contain the [Control Panel\Colors] section, so you need to add that somewhere in the theme. Save it. Double-click it. Done. Vinayak's answer was very helpful, but when I installed his posted (raw) theme above, it screwed up many colors and caused problems (no worries Vinayak, easy to fix). Just edit existing, add section, install. Perfect! – HerrimanCoder – 2016-06-08T13:04:23.350

2Also: Here's how to edit a theme pack: Theme packs (.themepack extension) such as the ones you can download from MS are actually CAB files which can be cracked open with winzip or similar. Inside you'll find a .theme file along with usually other files. All you care about is the .theme file. Extract it and edit in notepad. Add the [Control Panel\Colors] - Window=227 221 191 (SEE ABOVE EXAMPLE). Change DisplayName setting at top. Save. Double-click. Your theme will be installed and you'll have the bgcolor of your choice. THANKS Vinayak for pointing me in the right direction. – HerrimanCoder – 2016-06-08T13:09:08.420

5<Rant>Hey M$, why the heck did you make it so bloody difficult to change the windows background color? This required months on this thread, along with expert comments and experimentation. It would have been so EASY for you to expose a color editor or theme editor to pick the colors you want for all aspects of windows. In windows 7 and xp you could do this and you took it away.</Rant> – HerrimanCoder – 2016-06-08T13:11:24.023

One final comment: although this custom theme approach works great, Windows 10 continuously reverts my custom theme selection back to a default theme. I can easily change it back to custom, and all my colors instantly come back, but literally within an hour, the default theme comes back. Any ideas? – HerrimanCoder – 2016-06-22T13:12:57.073

I have seen the same: Windows switched to white window background (destop background untouched) after a while, reproducible via Win+L (Lock), Sign-in. Solution: start the 'Themes' service ;) — please confirm. Then the themes file content given after the EDIT: seems to be the minimal need. BTW I prefer Path=%SystemRoot%\resources\themes\Aero\Aero.msstyles for narrower window frame. – thoku – 2017-06-24T15:40:54.140

did anyone found a way to also just change the win10 explorer background? (Vinayak's Beige.theme doesn't change it) – JinSnow – 2017-07-03T10:56:58.833

Your theme does change the window background, but it does a bunch of other stuff too. Could you please strip it down to show us how to ONLY change window background color? – Stephen R – 2017-09-27T16:33:15.033

1

The link to the Color Section is dead. There's the section in Windows Dev Center's Theme File Format

– GeroldBroser reinstates Monica – 2019-08-05T19:28:48.850

1

Also, the [Visual Styles] section in Theme File Format says: Either .msstyles file or metrics and color sections, not both.

– GeroldBroser reinstates Monica – 2019-08-05T20:12:36.557

1@GeroldBroser Thanks! Added a mirror for the broken link – Vinayak – 2019-08-06T07:16:21.040

I've encountered this problem on a newly-installed machine and the beige style isn't working for me -- everything's still white. :-( (I realize this answer is three years old, but in case anybody is reading this and can help me...) – Monica Cellio – 2019-08-26T19:40:32.067

@MonicaCellio what version of Windows are you trying this on? – Vinayak – 2019-08-26T21:56:00.427

@Vinayak Windows 10 Enterprise, version 1709. – Monica Cellio – 2019-08-26T22:00:18.717

@MonicaCellio I'm running version 1903 and quickly tried applying the beige theme in Windows Sandbox and it seems to have worked (screenshot). Since you're running Enterprise, could you check if it works in Windows Sandbox?

– Vinayak – 2019-08-26T22:14:38.537

@Vinayak thanks; I'll try tomorrow (after asking Google what Windows Sandbox is). I left the recalcitrant machine at the office doing some large downloads overnight. – Monica Cellio – 2019-08-26T23:07:36.880

@MonicaCellio it seems Windows Sandbox is a feature that rolled out with the 1903 update so you'll probably need to update Windows to try it out – Vinayak – 2019-08-28T06:04:06.883

@Vinayak ah, that explains why I can't find it. Our updates are controlled through IT, so I guess I'll have to wait a bit. (I thought I was hung up on the BIOS setting that I haven't succeeded in changing yet.) – Monica Cellio – 2019-08-28T14:57:13.957

@MonicaCellio I don't have access to Windows 10 version 1709 but I believe it should work there as well. When you save the .theme file, could you check if Notepad isn't actually giving it a .txt extension? – Vinayak – 2019-08-30T06:49:35.667

Is there a way to do this with a registry hack instead? (As it would be more useful for scripting purposes.) Where would this registry be located for active vs inactive windows. – not2qubit – 2020-01-25T14:57:38.437

I noticed that different windows version may have different MasterThemeSelector: [MasterThemeSelector] MTSM=DABJDKT and as always, Windows dev's never explain what these cryptic codes means.

– not2qubit – 2020-01-25T15:08:57.507

@not2qubit I'm not sure if this can be achieved through registry edits but it might be possible. I'd recommend creating a snapshot of the registry, changing the changing, taking another snapshot and then comparing the two. The registry tools from the Sysinternals bundle should help with this. – Vinayak – 2020-01-26T12:35:29.320

5

I change it via going through this blog and this one.

  1. First, open a File Explorer window and navigate to C:\Windows\Resources\Themes.  Select the “aero” folder, press Ctrl+C to copy it, and then immediately press Ctrl+V to paste it and make a copy of it.  Click “Continue” to the UAC prompt.  Select “Do this for all current items” and click “Skip” when you see the File Access Denied window.

  2. You’ll get a folder named “aero - Copy”. Rename it to “color”. (It doesn’t have to be “color”, but we’ll be using color throughout here — you just need to use a consistent name.)

  3. Go into your new folder.  You’ll see a file named “aero.msstyles”.  Rename it to “color.msstyles”.  Click “Continue” when you see the UAC prompt.

  4. Next, open the “en-US” folder and you’ll see an “aero.msstyles.mui” file.  Rename it to “color.msstyles.mui”.  When you see the UAC prompt, click Continue.

    The “en-US” folder may have a different name if you’re using a different language edition of Windows.

  5. Go back to the main Themes folder and you’ll see a file named “aero.theme”.  Select it and copy it by pressing Ctrl+C.  Switch over to your desktop and press Ctrl+V to paste a copy of the file there.  Rename the new “aero.theme” file to “color.theme”.

  6. Right-click the “color.theme” file, point to “Open With”, select “Choose another app”, and open it with Notepad.

  7. Scroll down in the file and locate the line under [VisualStyles] reading

        Path=%ResourceDir%\Themes\Aero\Aero.msstyles
    

    Replace it with

        Path=%ResourceDir%\Themes\color\color.msstyles
    

    Save your changes and close Notepad afterwards.

  8. Select the “color.theme” file and press Ctrl+X to cut it.  Go back to the C:\Windows\Resources\Themes folder and press Ctrl+V to paste it here.  Agree to the UAC prompt when you’re done.  You now have a theme that can use colored window title bars.

  9. Activate the Theme —  Double-click the “color.theme” file to activate your new theme. Windows will switch to the “color.theme” file and your window titlebars will immediately become colored.

  10. Pick a Custom Color —  As on Windows 8, Windows automatically chooses an “accent color” from your desktop background by default.  But you can set your own custom color.

  11. Right-click the desktop and select “Personalize”, or open the Settings app and select “Personalization” to find these options.  Pick the “Colors” category.  Disable the “Automatically pick an accent color from my background” option and you’ll see a list of different colors you can use.

  12. This list is still a bit limited compared to the Color and Appearance options in Windows 8.1, which allowed you to select any color you liked. This desktop control panel has been completely hidden in Windows 10.  However, you can still access it — for now.

  13. To access this hidden control panel, press Windows Key+R to open the Run dialog. Copy-and-paste the following line into the Run dialog and run the command:

        rundll32.exe shell32.dll,Control_RunDLL desk.cpl,Advanced,@Advanced
    

    The “Show color mixer” option here will let you pick any color you want for your window title bars.

User008

Posted 2015-11-19T16:58:26.720

Reputation: 171

2Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill – 2016-05-02T10:39:10.003

@DavidPostill I have edited and added the blog's suggestion in it. – User008 – 2016-05-03T03:13:42.180

Nice edit, much better ;) – DavidPostill – 2016-05-03T08:25:30.287

@SweatCoder I think I could help you with that. I'll write up an answer later today. – Vinayak – 2016-05-09T09:09:02.597

@Vinayak I'm anxiously awaiting. :-) – HerrimanCoder – 2016-05-19T13:50:28.630

2@RaunakMaskay your post applies to windows title bars, not windows background colors (as in the big white area where all the typing is done) – HerrimanCoder – 2016-05-19T13:53:59.337

3

You can do a registry edit as described here: Window Color and Appearance removed in Win10? to change the background color in Windows 10

Paul Bullivant

Posted 2015-11-19T16:58:26.720

Reputation: 331

This worked for me for some windows, but not File Browser or OneDrive. Is stuff built into Windows protected from user modification or something, I wonder? – Monica Cellio – 2019-08-26T20:07:59.500

2

High Contrast themes allow you to change the default window background, as well as default text/selection colors, system-wide.

The downside is that High Contrast-type themes also change the appearance of various UI elements, as well as disable certain customization options (such as lock screen spotlight images.)

user73728

Posted 2015-11-19T16:58:26.720

Reputation:

2

You can do it using the GreyEveTheme FINAL- Windows 10 High Contrast Theme . It's a customised high contrast theme. To customized it, just change the color value (it's just a normal text file, pretty intuitive).

ps: Many thanks to it's creator.

Edit: I just discovered the "night light settings" it's very interesting.

JinSnow

Posted 2015-11-19T16:58:26.720

Reputation: 486