How to get Windows 10 title bar color to preserve when focus is lost?

I changed the accent color in the Windows 10 settings, and set windows to use that accent color for their title bars, but whenever the window loses focus, it reverts back to it's non-colored form. Here's a recording of that happening:

http://imgur.com/w7cEYKp.gif

Is there some sort of setting I can change in the registry to force the title bars to preserve their color even when they lose focus?


Solution 1:

It is quite easy.

Follow the below steps:-

  1. Select a title bar color from the Settings App (Don't select the option to chose color automatically).
  2. Go to the following registry key - HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM
  3. Create a new 32bit DWORD named AccentColorInactive
  4. Double click the value named AccentColor which already exists in the same key as you selected the color in step 1.
  5. Copy the value of the AccentColor to AccentColorInactive
  6. (Optional)Return back to settings app and chose a different color, so that both the color will not be the same.