How to change the background color of Highlighted Text (Selected Text) in windows 11

Have you ever thought of changing the highlight color of a selected text to a different color? This is usually done when some users find the default color boring and bland while others may have color sensitivity to that particular color. Hence,  they wish to change the color to something new that is unique and grand. This tutorial will show you how to change the background color of selected/highlighted text.


ADVERTISEMENT

 

How to change the background color of the selected text?

You can change the background color of the highlighted text from classic blue & white to any color you like in Windows 11. To do this we will be using a Registry tweak. This method is very simple and straightforward. Let’s have a look at how it can be done.

Before you proceed, make sure to create a backup of your registry because you may wish to change back immediately or you may be sick of the color you picked. To back up the registry,

  • Click on File > Export.

Registry File Export

 

  • Now, Save the file name as a date ( Because this is a backup), make sure Export Range is selected to All. Save it to a place that is easily accessible. ( here, I am saving it to Desktop).

 

Export File Saving

  • If you wish to import it back into your registry, simply click on File > Import. Navigate to the file and select OK.

 

File Import

 

Once, you have backed up the Registry files, proceed below to change the background color of the selected text.

Step 1: Open the Run Window by pressing Win+R, and type regedit.

 

Run Window Regedit

 


ADVERTISEMENT

Step 2: Once the registry window opens, type the key Computer\HKEY_CURRENT_USER\Control Panel\Colors in the path as shown below.

 

Registry Editor Color

 

Step 3: Now, in the right pane, scroll down to select HilightText String, click to change its value.

 

Highlighted Text

 

NOTE: The string value is simply the RGB value ( Example : 0 10 0) of the color. So, you need to change this value in the HilightText String to the color you wish to see.

Step 4: Now, we need to get the Red Green Blue (RGB) values.

Step 5: To select the RGB value, Open Microsoft Paint in your system by typing in the Run Window.

 

Run Command Mspaint Enter

 

 

Step 6: In the Home tab, click on Edit Colors.

 

Edit Colours Paint

 

Step 7: Click on one color and adjust the color based on your need.

 

Colors

 

Step 8: The Red Green Blue (RGB) values will be seen at the bottom right corner of the Dialog box. Note them down. (Here, I am changing the color to red, the value is  [ 255 0 0 ]).

 

Rgb Values

 

Step 9: Now, double-click on the HilightText, the Edit String Window opens, Copy the RGB values noted in the Value data section.

 

Edit String

 

Step 10: Close the Registry Editor.

Step 11: Now, you need to sign out and sign in to your user account. Click on the Windows Start button, click on the user name, and click on Signout.

 

Signout

 

Step 12:  Once you select a text, the red color will be shown.

 

Changed Color

 

In a similar way, you can also change the highlighted color. To do this,

Step 1: Open the Registry Editor to the Colors pane as done above.

 

Registry Editor Color

 

Step 2: Now, scroll down to select the Highlight String.

 


ADVERTISEMENT

Hilight

 

Step 3: Select the RGB value and paste it into the Edit String Dialog box. ( Here, I have selected a bright green color. The RGB values is [ 77 166 255 ]).

 

Hilight1

 

Step 4: Close the Registry Editor.

Step 5: Sign out and sign in to your user account.

 

Signout

 

Step 6: Once you open and select a text, it will show the color you selected.

This is all about changing the background color of the Highlighted or Selected Text.

Hope this article is helpful.

Thanks for Reading.

ADVERTISEMENT