Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Margin ColoursNew to Visual Studio Code? Get it now.
Margin Colours

Margin Colours

chinchiheather

|
16,159 installs
| (5) | Free
Display colour badge next to line numbers when any hex, rgb(a) or hsl(a) colours are written in a file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Margin Colours

CircleCI

Display colour badge next to line numbers when any hex, rgb(a) or hsl(a) colours are written in a file.

This is useful when working with a CSS-in-JS library or with config files that use colour strings.

demo

Supported File Types:

  • JavaScript
  • TypeScript
  • CoffeeScript
  • JSON
  • HTML
  • Jade
  • PHP
  • LESS
  • Sass (SCSS)
  • CSS

Install

From within Visual Studio Code:

  • Open command palette with Ctrl+Shift+P/Cmd+Shift+P
  • Select 'Extensions: Install Extensions'
  • Search for 'margin colours' and install

Sourcecode

Github

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft