Change highlight text color in Visual Studio Code

Change highlight text color

you can change it with your favorite color by:
Steps

  • Open visual code
  • Goto file menu
  • Preferences -> Settings
  • after open settings you will update your setting on your right side column, copy and paste this code inside the main brackets { … }
  • add these code and save
"workbench.colorCustomizations": {
        "editor.selectionBackground": "#460633",
        "editor.selectionHighlightBackground": "#112079"
    }
}

效果:
Change highlight text color in Visual Studio Code

pictures of steps

Change highlight text color in Visual Studio Code
Change highlight text color in Visual Studio Code
reference:
https://code.visualstudio.com/docs/getstarted/theme-color-reference#_editor-colors
https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme
https://code.visualstudio.com/docs/getstarted/settings