Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>shadcn/colorsNew to Visual Studio Code? Get it now.
shadcn/colors

shadcn/colors

Zain Zafar

|
1,721 installs
| (0) | Free
shadcn/colors is a Visual Studio Code extension displays real-time previews of colors for themes in https://ui.shadcn.com
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

shadcn/colors

shadcn-colors Icon

shadcn/colors is a Visual Studio Code extension displays real-time previews of colors for themes in https://ui.shadcn.com

Disclaimer: This extension is not directly affiliated with or endorsed by the creator of shadcn. It is an independent solution designed to address specific issues and is not associated with shadcn in any way.

shadcn-colors Preview

Features

  • Color previews are enabled by default when you open VS Code
  • Use the toggle command to show/hide color previews as needed
  • Change HSL colors easily using the color picker

Change Colors for HSL values

  • Select the hsl value e.g. 120 40% 70% within your .css file
  • Type cmd + shift + p or ctrl + shift + p
  • Type shadcn/colors: Change HSL Color and type the hex value there
  • That's it you should see your latest hsl converted from hex you provided

Toggle Color Previews

  • Type cmd + shift + p or ctrl + shift + p
  • Type shadcn/colors: Toggle to show/hide color previews

Note

  • If the color picker isn't showing, double-check your HSL syntax
  • Large files with lots of colors might slow things down a bit

Happy Coding!

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