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

Color Commands

Luciano Aedo Puga

|
2 installs
| (0) | Free
Command-base color conversion/manipulation for _Visual Studio Code_.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Color Commands

Color Commands

Command-based color conversion/manipulation for VS Code.

This extension provides commands to convert colors to their hexadecimal, RGB, and HSL representation. It also allows you to manipulate colors, such as rotating the hue, adjusting saturation, brightness, transparency, etc.

Installation

  1. Open the "Extensions" tab _(or visit _VS Marketplace_)_.
  2. Search for the "Color Commands" extension.
  3. Click on the "Install" button.

Usage

  1. Select one or more colors in the editor.
  2. Open the "Command Palette" (pressing Ctrl+Shift+P by default).
  3. Type Color Commands and execute a command from the available options.

Commands

  • Convert to Hexadecimal - Converts the selected colors to their hexadecimal representation.
  • Convert to RGB - Converts the selected colors to their RGB representation.
  • Convert to HSL - Converts the selected colors to their HSL representation.
  • Set Hue - Sets the hue value of the selected colors.
  • Set Saturation - Sets the saturation value of the selected colors.
  • Set Lightness - Sets the lightness value of the selected colors.
  • Set Alpha - Sets the alpha value of the selected colors.
  • Rotate Color - Rotates the selected colors by a given number of degrees.
  • Saturate Color - Increases the saturation value of the selected colors.
  • Desaturate Color - Decreases the saturation value of the selected colors.
  • Lighten Color - Increases the lightness value of the selected colors.
  • Darken Color - Decreases the lightness value of the selected colors.
  • Invert Color - Inverts the selected colors (rotates the hue by 180 degrees).
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft