Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Hex To RGBNew to Visual Studio Code? Get it now.
Hex To RGB

Hex To RGB

hextorgb

|
5,947 installs
| (1) | Free
Flexible converter between hex and rgb colours
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Hex to RGB README

logo

VSCode extension that converts colors between hex and RGB.

Uses the @nkp/color library.

View on GitHub

hex-to-rgb

Features

  • Preserves alpha values
  • Converts on cursor
  • Converts all in selection
  • Handles
    • rgb
    • rgba
    • comma separators
    • space separators
    • alpha percentages
    • alpha absolute values
    • hex3 (shorthand)
    • hex4 (alpha shorthand)
    • hex6
    • hex8 (alhpa)
  • Can convert to RGBx numbers without the rgb css text wrapping

hex-to-rgb

Requirements

None.

Extension Settins

None.

Known Issues

None.

Release Notes

1.0.0

Initial release of Hex-to-rgb

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