Shvmeless Color Commands
Quickly convert colors between formats and perform operations on them, right from the editor.
Installation
- Open the Extensions tab in VSCode (or visit VS Marketplace).
- Search for "Color Commands".
- Click the "Install" button.
- Open the "Command Palette" and execute one of the available commands.
Commands
Set Hue - Set the hue value for the selected color.
Set Saturation - Set the saturation value for the selected color.
Set Lightness - Set the lightness value for the selected color.
Set Alpha - Set the alpha value for the selected color.
Saturate - Increase the saturation value for the selected color by a given amount.
Desaturate - Decrease the saturation value for the selected color by a given amount.
Lighten - Increase the lightness value for the selected color by a given amount.
Darken - Decrease the lightness value for the selected color by a given amount.
Rotate - Rotate the hue value for the selected color by a given amount (in degrees).
Invert - Invert the selected color.
Convert to Hexadecimal - Stringify the selected color to its hexadecimal representation.
Convert to RGB - Stringify the selected color to its RGB representation.
Convert to HSL - Stringify the selected color to its HSL representation.
| |