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 API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,592 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,478 questions
{count} votes

Accepted answer
  1. Castorix31 84,546 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

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Wesley Li 8,345 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.

    1 person found this answer helpful.

  2. Castorix31 84,546 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

    1 person 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.