Skip to main content
Coding Theme

editorBracketHighlight.foreground4

editor bracket highlight foreground 4. Foreground color of brackets (4). Requires enabling bracket pair colorization.

Group: Editor colors

Where editor bracket highlight foreground 4 paints

This sample moves from #cccccc to #f5d76e, then back.

editor bracket highlight foreground 4{ }

Value in popular themes

The color each of these themes assigns to editorBracketHighlight.foreground4. Not set means the theme leaves the workbench default in place.

editorBracketHighlight.foreground4 in popular VS Code themes
ThemeValue
Dracula Theme#50FA7B
Tokyo Night#25aac2
GitHub Dark#79b8ff
Catppuccin Mocha#a6e3a1
One Dark ProNot set
Nord#5e81ac
Gruvbox Dark Medium#98971a
Night OwlNot set
Ayu DarkNot set
Rosé Pine#9ccfd880

How to change editor bracket highlight foreground 4 color in Visual Studio Code

macOS

  1. Open settings.json. Press Shift+Command+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
  2. Set this color id. Add editor bracket highlight foreground 4 under workbench.colorCustomizations. Foreground color of brackets (4). Requires enabling bracket pair colorization. Use a hex color such as #f5d76e.
  3. Save the file. Press Command+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.

Windows

Linux uses the same shortcuts.

  1. Open settings.json. Press Shift+Ctrl+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
  2. Set this color id. Add editor bracket highlight foreground 4 under workbench.colorCustomizations. Foreground color of brackets (4). Requires enabling bracket pair colorization. Use a hex color such as #f5d76e.
  3. Save the file. Press Ctrl+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
{
  "workbench.colorCustomizations": {
    "editorBracketHighlight.foreground4": "#f5d76e"
  }
}

Other Editor colors