Registry Location for Windows Theme and Accent Colors
Windows stores user-specific theme colors, accent borders, and UI
colorization values within the HKEY_CURRENT_USER hive in
the Windows Registry (Regedit). These settings are divided among the
Desktop Window Manager (DWM), Explorer Personalization subkeys, and the
legacy Control Panel registry paths to control how colors render across
title bars, window borders, the taskbar, and application
backgrounds.
1. Window Borders and DWM Accent Colors
The primary key responsible for window border accents and Desktop Window Manager color rendering is:
HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM
Key values in this location include: *
AccentColor: A 32-bit DWORD (stored in
ABGR hex format) representing the primary accent color. *
ColorizationColor: A DWORD defining the
active border and title bar color. *
ColorPrevalence: A DWORD value set to
1 to force the accent color onto active window title bars
and borders, or 0 to keep them neutral.
2. Modern Theme and Personalization Settings
System-wide light/dark mode and UI element accent toggles are located at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize
Key values in this location include: *
ColorPrevalence: Controls accent color
display on the Start menu, taskbar, and action center (1
for enabled, 0 for disabled). *
AppsUseLightTheme: Determines if
applications render in light mode (1) or dark mode
(0). * SystemUsesLightTheme:
Determines if the Windows shell UI renders in light mode
(1) or dark mode (0).
3. Explorer Accent Palettes
Detailed custom color palettes generated by the Windows color picker are stored in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent
Key values in this location include: *
AccentPalette: A binary value containing
the full color spectrum and shade variations derived from the selected
accent color. * AccentColorMenu: A DWORD
value specifying the accent applied to context menus and shell
flyouts.
4. Legacy Interface and Classic Colors
For legacy Windows components and backward-compatible UI elements, color values are stored as raw RGB strings in:
HKEY_CURRENT_USER\Control Panel\Colors
HKEY_CURRENT_USER\Control Panel\Desktop\Colors
These keys contain string values (such as ActiveBorder,
ActiveTitle, and WindowFrame) formatted as
R G B numbers ranging from 0 0 0 to
255 255 255.