Change Accent Color for Taskbar on Windows 11 via Registry

Jacob Mordon 225 Reputation points
2024-09-09T10:51:55.53+00:00

Hi, I would like to know, how to change registry Accent Color value for Taskbar.

This color of Taskbar appears, when I change HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\ColorPrevalence to 1

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Accepted answer
  1. Castorix31 90,686 Reputation points
    2024-09-10T19:34:09.25+00:00

    On Windows 10, I must update both AccentPalette and AccentColorMenu and I don't need to restart Explorer

    3 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Wesley Li 11,260 Reputation points
    2024-09-09T16:40:49.9166667+00:00

    Hello

    To change the registry Accent Color value for the Taskbar, you can follow these steps:

    1. Open the Registry Editor by pressing Win + R, typing regedit, and pressing Enter.
    2. Navigate to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize.
    3. Find the ColorPrevalence key and set its value to 1 to enable the accent color on the Taskbar.
    4. To change the actual accent color, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Accent.
    5. Modify the AccentColor key to the desired color value in hexadecimal format.

    After making these changes, you might need to restart your computer or log out and log back in for the changes to take effect.

    3 people found this answer helpful.

  2. Castorix31 90,686 Reputation points
    2024-09-09T21:51:35.7533333+00:00

    With undocumented APIs, SetUserColorPreference works on my Windows 10 22H2 OS

    There is a sample at https://github.com/m417z/Windows-10-Color-Control/blob/master/WindowsThemeColorApi.cpp

    2 people found this answer helpful.
    0 comments No comments

  3. Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
    2025-05-07T12:21:57.42+00:00

    I really couldn't do this, no matter what reg keys I was trying... the color value always gets back to the orignal.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.