Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Gazio's PDX Color PickerNew to Visual Studio Code? Get it now.
Gazio's PDX Color Picker

Gazio's PDX Color Picker

gazio44

|
90 installs
| (0) | Free
Color picker support for Paradox game files (HOI4, EU4, CK3, etc.) - works with rgb, hsv color formats
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gazio's Paradox Extension

A Visual Studio Code extension that adds interactive color picker support for Paradox Interactive game files (Hearts of Iron IV, Europa Universalis IV, Crusader Kings III, Stellaris, etc.).

Features

  • Multiple Color Format Support:

    • rgb { 72 148 53 } - Standard RGB format
    • RGB { 255 0 0 } - Uppercase RGB
    • hsv { 120 0.50 0.75 } - HSV format with automatic conversion
    • color = { 128 128 128 } - Direct color assignment
  • Interactive Color Picker: Click on any color square to open VS Code's native color picker

  • Format Preservation: When you change a color, it maintains the original format (RGB stays RGB, HSV stays HSV)

  • Works with paradox-highlight: Fully compatible with the paradox-highlight syntax extension

Supported File Types

  • .txt - General Paradox script files

Usage

  1. Install both this extension and paradox-highlight
  2. Open any Paradox game file
  3. Color squares will appear next to color definitions
  4. Click on a color square to open the color picker
  5. Select a new color - it will automatically update in the correct format

Examples

The extension recognizes patterns like:

# Country colors
color = rgb { 72 148 53 }
color_ui = RGB { 72 148 53 }

# HSV format (common in map modes)
color = hsv { 120 0.65 0.58 }

# Hex format
color = hex { 0x4894D5 }

# Direct assignment
selection_color = { 255 255 0 }

Requirements

  • Visual Studio Code 1.74.0 or higher
  • paradox-highlight extension (recommended)

Game Compatibility

Tested with files from:

  • Hearts of Iron IV
  • Europa Universalis IV
  • Crusader Kings III
  • Stellaris
  • Victoria 3
  • Imperator: Rome

License

MIT

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