How to Change the Drag Selection Color in Windows 10

Windows 10 has no dedicated Settings switch for the translucent rectangle that appears when you click and drag across the desktop or an open folder. A common workaround is to edit two color strings under HKEY_CURRENT_USER\Control Panel\Colors. The change is limited to the signed-in user, and its appearance can vary by Windows theme and app.

This is a registry customization, not a setting Microsoft promises will affect every Windows 10 surface. Microsoft documents Hilight among legacy theme colors; its Win32 color reference describes highlight and hot-tracked colors in general terms. Back up the key first, then test the result before changing other color values.

Windows 10 Run dialog with regedit entered in the Open field
Illustration: enter regedit in the Run dialog to open Registry Editor.

Before you edit the registry

  • Save your work. Registry edits can change how Windows and some older desktop controls display colors.
  • Keep a backup. Microsoft’s registry backup instructions recommend exporting the key before you change it.
  • Choose a color in RGB. Each red, green, and blue component is a decimal number from 0 to 255. Separate the three numbers with spaces, not commas. For example, the coral value #FF6666 is 255 102 102.

In Windows, Hilight and HotTrackingColor are string values. Microsoft’s theme-file reference lists Hilight in the Control Panel\Colors section and describes how these older RGB theme entries are used. The Win32 system-color reference identifies highlight color with selected items and hotlight color with hyperlinks or hot-tracked items. That documentation does not guarantee that every Windows 10 theme or app will use the registry values for a drag rectangle.

How to change the drag-selection color

  1. Open Registry Editor. Press Windows+R, type regedit, and press Enter. If Windows asks for confirmation or an administrator password, approve it only if you are comfortable continuing. The Run dialog is shown above.
  2. Export the Colors key. In Registry Editor, go to HKEY_CURRENT_USER\Control Panel\Colors. Select the Colors folder in the left pane, choose File > Export, and save the file somewhere you can find it. Also note the current data for Hilight and HotTrackingColor; the two original values may be different.
Registry Editor at HKEY_CURRENT_USER Control Panel Colors, showing Hilight and HotTrackingColor string values
Illustration: the Colors key contains the two string values used in this walkthrough.
  1. Edit both strings. In the right pane, double-click HotTrackingColor. In the Edit String dialog, replace Value data with your three-number RGB value and select OK. Repeat for Hilight. For a consistent color, enter the same RGB triplet in both values. Do not type a leading #, commas, or parentheses. The example below uses 255 102 102; choose another triplet if you prefer a different color.
  2. Reload your Windows session. Close Registry Editor, save open files, then sign out and sign back in or restart the PC. A full restart is a straightforward way to reload the user’s color settings; closing and reopening File Explorer alone may not refresh every surface.
Registry Editor Edit String dialog with HotTrackingColor set to the example RGB data 255 102 102
Illustration: enter three decimal RGB components in the Value data field.

Test the new color

After signing in again, click and drag over an empty area of the desktop or File Explorer’s file pane. The translucent selection rectangle should appear while the mouse button is held. You can also select an item or text to check whether other highlight colors changed. These registry values may influence related system colors, so the effect is not necessarily limited to the drag rectangle.

Windows 10 File Explorer with a translucent coral selection rectangle over blank space in the file pane
Illustration: test the new selection color in an empty area of File Explorer.

If the color does not change

  • Confirm that both values are spelled exactly Hilight and HotTrackingColor, and that the data has three decimal numbers separated by spaces.
  • Sign out and back in, or restart once more. If a theme or contrast setting is active, it may take precedence over legacy color values.
  • Try another RGB value with stronger contrast against your desktop or folder background. Very pale colors can be hard to see through the translucent fill.

If your goal is to make interface elements easier to distinguish, Windows also includes contrast themes. In Windows 10, open Settings > Ease of Access > High contrast. Microsoft explains this built-in option in its guide to changing color contrast.

Restore the previous colors

To undo the edit, use the exact RGB strings you recorded before changing them, or import the Colors key backup from Registry Editor with File > Import. Importing the backup restores the values captured when you exported it and may overwrite later changes in that key. Restart or sign out and back in again after restoring. Avoid assuming both entries should use one universal default: restore the values that were on your PC before the edit.

Leave a Comment

How to Create a List of All Items in a Folder on Windows 10

How to Create a List of All Items in a Folder on Windows 10

Create a searchable Windows 10 folder inventory with PowerShell. Save every file and subfolder path as plain text or export details to a sortable CSV.

How to Display Custom Text on Your Windows 10 Desktop

How to Display Custom Text on Your Windows 10 Desktop

Add a custom reminder, quote, or label to your Windows 10 desktop with a Rainmeter text skin. Create the INI file, load it, then adjust its font and position.

How to Use Bluetooth Swift Pair on Windows 10

How to Use Bluetooth Swift Pair on Windows 10

Use Bluetooth Swift Pair on Windows 10 to pair a compatible accessory from a notification, with setup steps and fixes when the prompt does not appear.

How to Identify Function Key Symbols on a Windows 10 Laptop

How to Identify Function Key Symbols on a Windows 10 Laptop

Learn what common laptop function key symbols mean, how Fn and Fn Lock affect them, and how to confirm the right shortcut for your Windows 10 laptop model.

How to Put the Windows 10 Screen to Sleep on Demand

How to Put the Windows 10 Screen to Sleep on Demand

Turn off your Windows 10 display instantly with ScreenSleep, set a keyboard shortcut, and see when to use the built-in screen timeout instead.

How to Fix “Running Scripts Is Disabled on This System” in PowerShell on Windows 10

How to Fix “Running Scripts Is Disabled on This System” in PowerShell on Windows 10

Fix the “running scripts is disabled on this system” PowerShell error on Windows 10 with a current-user policy, a temporary session option, and safe steps for downloaded scripts.

How to Change the Drag Selection Color in Windows 10

How to Change the Drag Selection Color in Windows 10

Change the Windows 10 drag-selection color with a backup-first registry walkthrough, RGB examples, troubleshooting tips, and steps to restore your original values.

How to View All Devices Connected to Your Network on Windows 10

How to View All Devices Connected to Your Network on Windows 10

Check your router’s connected-device list or scan a local network with Fing Desktop on a supported PC. Learn what each method can show and how to verify unfamiliar entries.

Can You Get Alerts When a Facebook Messenger Friend Is Online?

Can You Get Alerts When a Facebook Messenger Friend Is Online?

Messenger does not offer a documented per-friend online alert. Learn how Active Status works, where to check the green dot, and which notifications you can enable instead.

How to Search an Archive File Without Extracting It on Windows 10

How to Search an Archive File Without Extracting It on Windows 10

Use 7-Zip to find an exact filename or wildcard match inside a ZIP or other supported archive on Windows 10 without unpacking its files.