Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TS Type Color PreviewNew to Visual Studio Code? Get it now.
TS Type Color Preview

TS Type Color Preview

RodSarhan

|
1,965 installs
| (0) | Free
Preview the colors of Typescript types and union types that correspond to a color value
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TS Type Color Preview

Installs GitHub Repo stars Marketplace License

This extension allows previewing the colors of typescript types and union types that correspond to color values

Features

Hover on a variable with a color value as its type to see a preview of the possible colors

Examples

example 1

example 2

Notes

This extension is inteded for my own use, if you notice any issues feel free to suggest a fix or open a PR.


Enjoy!

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