Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>python-color-pickerNew to Visual Studio Code? Get it now.
python-color-picker

python-color-picker

Adin Omic

|
3,987 installs
| (4) | Free
A VS Code extension to show color previews and color picker for Python files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python Color Picker

Overview

python-color-picker is a Visual Studio Code extension that provides color previews and a color picker for Python files. This extension recognizes color values defined in various formats, such as hex codes (#FFFFFF) and RGB tuples ((255, 255, 255)), and displays a color preview next to the color value in your code.

Features

  • Automatically detects color values in Python files.
  • Supports hex color codes (e.g., #FFFFFF) and RGB tuples (e.g., (255, 255, 255)).
  • Displays a color preview next to the color value.
  • Provides a color picker for easy color selection and modification.

Usage

Once installed, the extension will automatically detect color values in your Python files and display a color preview next to them.

Supported Color Formats

  • Hex color codes: "#RRGGBB"
  • RGB tuples: (R, G, B)
  • RGBA tuples: (R, G, B, A)

Example

  • SKY = "#87CEEB"
  • ROSE = (255, 29, 141)
  • WINDOW = (19, 109, 21, 0.75)

Acknowledgements

This extension is built with the help of the Visual Studio Code Extension API and inspired by similar extensions for other programming languages.

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