Skip to main content

Overview

Color Picker is a system-wide utility that allows you to pick colors from anywhere on your screen and copy them in various formats. It includes color history management and supports multiple color format outputs.
Color Picker can be launched programmatically via the ColorPickerService API for integration with other applications.

Activation

1

Enable Color Picker

Open PowerToys Settings and enable Color Picker in the utilities list
2

Launch Picker

Press the activation shortcut (default: Win+Shift+C)
3

Select Color

Click anywhere on screen to pick the color at that location

Programmatic Launch

File reference: src/modules/colorPicker/ColorPicker.ModuleServices/ColorPickerService.cs:34

Key Features

Color Picking Modes

Screen Picker

Pick any color from your screenMagnified view for pixel-perfect selection

Color History

Access previously picked colorsStored in colorHistory.json

Fine-Tune Zoom

Zoom in for precise color selectionAdjustable zoom level

Multi-Format Copy

Copy color in multiple formats simultaneouslyConfigurable format list

Supported Color Formats

Color Picker supports numerous color format outputs:
  • HEX - #FF5733
  • RGB - rgb(255, 87, 51)
  • RGBA - rgba(255, 87, 51, 1.0)
  • HSL - hsl(14, 100%, 60%)
  • HSLA - hsla(14, 100%, 60%, 1.0)
  • HSV - hsv(14, 80%, 100%)

Color History

Automatic tracking of picked colors:
History file location:

Zoom and Precision

Enhanced color picking accuracy:
  • Magnified Viewport: Enlarged pixel view under cursor
  • Pixel Grid: Clear pixel boundaries for exact selection
  • RGB Preview: Real-time color value display
  • Mouse Wheel Zoom: Adjust magnification level dynamically

Configuration

Activation Shortcut

activation_shortcut
hotkey
default:"Win+Shift+C"
Global hotkey to launch Color PickerConfigurable modifier keys:
  • Win (Windows key)
  • Alt
  • Shift
  • Ctrl
Plus any virtual key code
Configuration file: PowerToys settings JSON

Color Format Selection

Choose which formats to include when copying colors:
  1. Open PowerToys Settings
  2. Navigate to Color Picker
  3. Scroll to “Color formats”
  4. Check formats to enable
  5. Reorder formats by dragging
When you pick a color, all enabled formats are copied to clipboard as multi-line text.

Editor Integration

Optional: Configure which editor opens color history:
  • Default: Internal viewer
  • Custom: Specify external color management tool

Appearance Options

show_color_name
boolean
default:"false"
Display color names (e.g., “Red”, “Midnight Blue”) alongside hex values
activation_behavior
enum
default:"openEditor"
What happens when activation shortcut is pressed:
  • openEditor - Open color picker interface
  • openColorPickerAndThenEditor - Pick color, then open editor
color_format_for_clipboard
enum
default:"hex"
Default format for quick copy operations

Use Cases

Web Development

1

Pick Brand Colors

Sample colors from design mockups or competitor websites
2

Extract Color Palettes

Build color schemes from existing designsPick multiple colors, check history, export palette
3

Accessibility Testing

Verify color contrast ratios:
  1. Pick foreground color
  2. Pick background color
  3. Calculate contrast ratio
  4. Ensure WCAG compliance

Graphic Design

Match colors across different applications:
  • Sample from reference image
  • Copy in design tool format (HSB, CMYK)
  • Paste into design software
  • Ensure exact color reproduction
Maintain consistent branding:
  1. Pick brand colors from official assets
  2. Save to color history
  3. Reference when creating new designs
  4. Copy in required format (HEX, RGB, CMYK)
Discover interesting color combinations:
  • Sample from photos or artwork
  • Build color palettes from nature
  • Experiment with color relationships
  • Document successful combinations

UI Development

Digital Art & Photography

Color Grading

Sample colors from reference images for consistent grading

Palette Generation

Extract color palettes from photographs for design projects

Color Theory

Study color relationships in existing artwork

Style Matching

Match colors when editing photos or creating digital art

Keyboard Shortcuts

Global

During Color Picking

In Color History

Technical Details

Architecture

Color Conversion Engine

Built-in conversion between color spaces:

Module Integration

Color Picker implements PowerToys module interfaces:

Event Signaling

Uses Windows events for inter-process communication:
Event name: Defined in Constants.ShowColorPickerSharedEvent()

History File Format

Stored as array of hex color strings, parsed to full SavedColor objects on retrieval.

Troubleshooting

Check:
  • PowerToys is running
  • Color Picker is enabled in settings
  • Hotkey is correctly configured
  • No conflicting application using same shortcut
Debug:
Possible causes:
  • Clipboard locked by another application
  • No color formats enabled in settings
  • Clipboard manager interfering
Solutions:
  1. Close clipboard managers temporarily
  2. Enable at least one color format
  3. Check Windows clipboard permissions
Verify:
  • Mouse wheel is functioning
  • Color Picker window has focus
  • Graphics drivers are up to date
Alternative: Use arrow keys for fine positioning
Check file location:
Verify:
  • Directory exists and is writable
  • File is not corrupted (valid JSON)
  • Sufficient disk space
Reset: Delete file, it will be recreated

See Also