How to Change the Blue Selection Box Colour on Windows 11 and 10

Watch the video on YouTube
▶ Watch the video on YouTube

When you click and drag on the desktop or in File Explorer, Windows draws a translucent blue selection box. There’s no Settings option to change its colour, but it is controlled by two colour values in the registry that you can change safely.

Before you start: editing the registry incorrectly can cause problems. Create a restore point first (search for Create a restore point in Start) or export the key as a backup.

Change the selection colour

  1. Press Windows + R, type regedit and press Enter. Click Yes.
  2. Go to:
    HKEY_CURRENT_USER\Control Panel\Colors
  3. Right-click the Colors key and choose Export to save a backup.
  4. Double-click Hilight. This sets the colour of the selection box border (and selected text in some classic apps).
  5. Enter a colour as three numbers for red, green and blue separated by spaces, for example 255 0 128 for pink. Click OK.
  6. Double-click HotTrackingColor. This sets the fill colour of the box. Enter the same or a similar value and click OK.
  7. Sign out and sign back in, or restart the PC, to see the new colour.

Example colour values

  • Green: 0 160 80
  • Orange: 255 120 0
  • Purple: 120 60 200
  • Default blue on many PCs: 0 120 215 (Hilight) and 0 102 204 (HotTrackingColor)

Write down your original values before changing them, because defaults can differ between PCs and themes.

Turn off the translucent box instead

If you’d rather have a simple dotted outline:

  1. Press Windows + R, type SystemPropertiesPerformance and press Enter.
  2. Untick Show translucent selection rectangle.
  3. Click OK.

Undo the change

Double-click the .reg backup you exported and confirm, or type your original values back in. Changing the Windows theme can also reset these colours.

Frequently asked questions

Does this change the accent colour too?

No. The accent colour in Settings > Personalization > Colors is separate. These values only affect the selection box and some classic highlights.

Is this edit safe?

Yes, if you only change these two values. They store colours and don’t affect how Windows starts or runs.

Leave a Comment

Your email address will not be published. Required fields are marked *