Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSColorsNew to Visual Studio Code? Get it now.
VSColors

VSColors

kevscript

|
10,891 installs
| (2) | Free
Color Format Converter for VSCode. Supports HEX(A), RGB(A) and HSL(A) formats.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Its my first extension! Leave a rating and share your thoughts on it to help me learn and understand your expectations.

If you have any questions or recommandations, please feel free to contact me at @kevscript.

Features

VSColors is a VS Code extension helping you with color type conversions. It handles basic HEX, RGB and HSL colors, alongside their Alpha formats for opacity.

How it Works

Highlight your color, and right-click it. You should see options to convert your colors in the navigation.

how it works

Extension Settings

This extension contributes the following settings:

  • vscolors.color2Hex: converts highlighted color to a HEX value
  • vscolors.color2Rgb: converts highlighted color to an RGB value
  • vscolors.color2Hsl: converts highlighted color to an HSL value

Additional Informations

Extension doesn't handle implicit alpha values.

For example rgba(255, 255, 0) will yield an error as RGBA format expects an alpha value.

Others

Check VSColors on the MarketPlace.

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