How to Change Text and Text Highlight color in Windows 11

When you highlight text in Windows 11, the background of the text selection is blue, and the text color is white. This is what we expect from the Microsoft Windows operating system.

If you would like something different, for example, different background color for selected text and different text color, you can change this. In addition, you can change the text selection color to any color you want, so you can customize Windows 11.

This is the following customization. I will show you a picture of the before and after so you know what you will adjust. Remember that the color may be different if you have installed a different theme than my example.

You can see the selected text in the example here. The background of the selected text is blue (RGB color code: 0 120 215), and the text itself is white (RGB color code: 255 255 255). This is the default selected text in Windows 8, Windows 10, and Windows 11.

Text selection color is blue in Windows 11

You can customize the selected text to your liking. For example, you can set a different RGB color code for the text background and for the text color. Below is an example. You can see here that I have set a red background and green text color.

Change selected text color in Windows 11

Customizing the text background and text color in Windows 11 requires a color code in RGB. You need to look up the RGB code for a color, you can easily do this through a search engine.

How to Change Text and Text Highlight color in Windows 11

Open the Windows registry. Right-click on the Start button. In the menu click on “Run”. In the “Run” box type: regedit.exe

Go to the key:

Computer\HKEY_CURRENT_USER\Control Panel\Colors

You will see two registry values. These are the “HiLight” and the “HiLightText” values. “HiLight” is the value for the background of the selected text, and “HiLightText” is the value for the text color.

HiLightText values in registry

Double-click any of the values to change the value data. For example, enter an RGB color code and click OK.

Optional: The default color codes for the blue background are RGB color code: 0 120 215 and RGB color code: 255 255 255 is for the default white text. Should you want to reset the modified text colors to default colors.

Edit hilight string value

Now restart your computer. You will now see that the selected text background and the text color have been adjusted to the RGB color codes you set.

I hope this has helped you. Thanks for reading!

Read more: how to customize input methods in Windows 11.

Leave a Comment

Your email address will not be published.

Scroll to Top