logo
search
Others

How to Restore the Default Windows Text Selection Color

Jason MillerJason Miller Oct 23, 2026 870 views

Question details

The user needs to change the text-selection highlight color back to the standard gray or light-blue without using third-party software.

How to Restore the Default Windows Text Selection Color
Product
Windows / Microsoft Office
Device & OS
Windows
Scenario
Highlighting and selecting text across the operating system or inside document editors.
Observed behavior
The text-selection highlight has unexpectedly changed to black, obscuring the selected text.
Before you start

Before modifying system settings, restart your computer and verify if the black highlight issue occurs only in a specific application (like Microsoft Word) or across the entire Windows system.

Solution 1Recommended

Restore the Highlight Color via Windows Registry

Modifying the Colors registry key is the most direct way to fix anomalous system highlight colors in Windows without third-party tools.

Windows stores default color values for UI elements in the Registry. If a theme glitch or bug changes the highlight color to black, manually resetting the 'Hilight' string value will force Windows to use the standard blue or gray selection color.

1
Open the Registry Editor

Press the Windows key + R to open the Run dialog, type 'regedit', and press Enter.

2
Navigate to the Colors key

In the left pane, navigate to the following path: HKEY_CURRENT_USER\Control Panel\Colors.

3
Modify the Hilight value

Scroll down in the right pane to find the string named 'Hilight'. Double-click it and change its Value data to '0 120 215' (the default Windows 10/11 blue) or '153 204 255' (light blue).

4
Apply and restart

Click OK to save the changes, close the Registry Editor, and restart your computer to apply the new text selection color.

Restore the Highlight Color via Windows Registry
Registry Precaution: Ensure you are only modifying the specific 'Hilight' string. Changing unrelated registry keys can affect other system visual settings.
Free Microsoft Office alternative

Try WPS Office for a Stable Document Editing Experience

If UI glitches like the black text selection color persist in your current office suite, consider switching to WPS Office. It provides a highly stable, lightweight, and free alternative with a familiar user interface that prevents frustrating rendering bugs.

  1. 1. Download the Installer: Visit the official WPS website and download the free installer for Windows.
  2. 2. Install WPS Office: Run the setup file and follow the straightforward instructions to install the suite.
  3. 3. Open Existing Documents: Launch WPS Office and open your Word, Excel, or PowerPoint files directly without any formatting loss.
Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX).Stable text rendering and highlighting without unexpected color changes.Lightweight installation that consumes fewer system resources.Free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why did my text selection color suddenly turn black?

This usually happens due to a glitch in Windows desktop themes, a corrupted Office installation, or an outdated third-party add-in interfering with the system's display settings.

How do I change the text highlight color without using the Registry?

You can try resetting your Windows theme. Go to Settings > Personalization > Themes, and apply a different default Windows theme to naturally reset the system UI colors.

Does the black highlight issue affect the printed document?

No, the text selection highlight is strictly a visual indicator on your screen. It will not appear when you print the document or export it to a PDF.

What should I do if Safe Mode fixes the text selection color in Word?

If Safe Mode resolves the issue, an add-in is likely the cause. Go to File > Options > Add-ins in Word, select 'COM Add-ins' from the Manage dropdown, click Go, and uncheck them one by one to identify the problematic extension.