Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Bevy ColorNew to Visual Studio Code? Get it now.
Bevy Color

Bevy Color

FrTerstappen

|
43 installs
| (0) | Free
Visualize colors inline in rust code using bevy
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bevy-Color

Bevy Color is an extension for VS Code to preview colors declared in rust files using the Bevy game engine. It also allows adjusting them with the integrated color picker.

Currently tested with version 0.16.0 of Bevy.

Features

Color preview

Shows a preview of the color next to its declaration. This currently works for colors declared with Color:: as well as colors from the color palettes (tailwind and css).

Color preview

Color picker

Clicking on the color preview or hovering over the detected color definition opens a color picker. Selecting a color replaces the original color with the new color. If possible the same color space is used for the new color.

Color picker

Color value range

Values outside of the expected range for a color space are marked with a diagnostic.

Color value range

Requirements

This extension does currently not have any requirements.

Extension Settings

This extension does currently not provide any settings.

Known Issues

The color detection is based on multiple regular expressions and does currently not cover all possible ways to declare a color provided by Bevy.

While it is limited to rust files it does not actually know if Bevy is used. As such it also adds a color preview to other code which resembles a color declaration in Bevy.

Release Notes

See CHANGELOG.md for a list of changes.

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