This guide shows you how to change the color of inactive title bars in Windows 10. By default, Windows uses a grayish color for inactive windows, but you can make them match your accent color or any custom shade. You’ll need to edit the Windows registry, so follow the steps carefully and back up your registry first.
What You’ll Need
- A Windows 10 PC with administrator access.
- Basic comfort using the Registry Editor (regedit).
Step-by-Step
- Open Registry Editor: Press Win + R to open the Run dialog. Type
regeditand press Enter. If prompted by User Account Control, click Yes. - Navigate to the Personalization key: In the left sidebar, expand the folders in this order:
HKEY_CURRENT_USER→SOFTWARE→Microsoft→Windows→DWM. You should see a folder namedDWM. - Create a new DWORD value: Right-click on the
DWMfolder (in the left pane) and select New → DWORD (32-bit) Value. Name itAccentColorInactive. - Set the color value: Double-click the new
AccentColorInactivevalue. In the “Value data” field, enter the hex color code in the format0xAABBGGRR. The first two characters (AA) are the alpha (transparency) – use00for fully opaque. The next six characters are the color in Blue-Green-Red order. For example, to get a red title bar, you’d use0x000000FF(blue=00, green=00, red=FF). To get a blue title bar, use0x00FF0000. Click OK. - Restart Explorer or sign out: The change won’t take effect until the Explorer shell is restarted. The easiest way is to sign out and back in, or restart your computer. Alternatively, you can restart Explorer from Task Manager: right-click the taskbar and select Task Manager, find Windows Explorer in the list, right-click it, and choose Restart.
- Verify the change: Open any window (like File Explorer) and then open another window on top of it. The inactive window’s title bar should now show your custom color.
Common Mistakes
- Wrong color format: Entering the hex code in RGB order instead of BGR. Windows uses Blue-Green-Red (BBGGRR) for this registry value.
- Missing the alpha bytes: Forgetting the leading
00(or any alpha value) – the value must be 8 hex digits total. - Typo in the value name: The DWORD must be named exactly
AccentColorInactive– any misspelling will be ignored. - Not restarting Explorer: The change won’t appear until you sign out or restart Explorer.
- Editing the wrong key: Make sure you’re under
HKEY_CURRENT_USER, notHKEY_LOCAL_MACHINE(which would require admin and affect all users).
Tips
- To revert to the default gray, simply delete the
AccentColorInactivevalue (right-click → Delete) and restart Explorer. - You can also set the inactive color to the same as your active accent color for a uniform look.
- If you want the inactive title bar to be completely transparent, set the alpha to
00and the color to black (0x00000000) – but note this may look odd. - To find the hex code of a specific color, you can use a color picker tool or an online color converter.
- Export the DWM key (right-click → Export) before making changes – this creates a .reg file you can double-click to restore if something goes wrong.
Troubleshooting
- Change doesn’t apply: Make sure you’ve restarted Explorer or signed out. If you restarted Explorer and it still doesn’t work, double-check the value name and location.
- Title bar is still gray: Some older Windows 10 versions (before 1809) may not support this registry value. Update Windows or consider using a third-party theming tool.
- Registry edit doesn’t stick: If the value keeps reverting, your system may be managed by group policy (e.g., in a corporate environment). Check with your IT admin.
- Title bar is black or invisible: You likely entered the color in the wrong format or used an invalid alpha. Re-check the value.
- Can’t create DWORD: If you get an error, make sure you’re logged in as an administrator and that the DWM key exists. If not, create it manually (right-click on Windows → New → Key → name it
DWM).
Frequently Asked Questions
Does this work on Windows 11?
No, this registry trick is specific to Windows 10. Windows 11 uses a different theming system and doesn’t have a separate inactive title bar color setting.
Can I use a color picker to get the hex code?
Yes, any color picker will give you the RGB hex code. Just remember to reverse it to BGR when entering it in the registry.
Will this affect all apps?
Most apps that use the standard Windows title bar will be affected. Some apps with custom title bars (like many web browsers) won’t change.
Is it safe to edit the registry?
If you follow the steps correctly and back up the key first, it’s safe. Incorrect edits to other parts of the registry can cause problems, so stick to the DWM key.
How do I get my old color back?
Delete the AccentColorInactive value and restart Explorer. Windows will revert to its default gray.
Can I set different colors for different windows?
No, this setting applies globally to all inactive windows. There’s no built-in way to have per-window colors.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- MacBook Charger Not Working? Fix It Now
- Fix Windows Cannot Be Installed to This Disk
- Zoom on iPhone & iPad: Host or Join a Meeting
- Fix iPhone SE 4 Unable to Activate: Step-by-Step
- Keep Important Emails From Getting Buried in iPhone Mail Categories
- How to Clear RAM on iPhone: Speed It Up