WpfColorPicker 2.0.2

dotnet add package WpfColorPicker --version 2.0.2
                    
NuGet\Install-Package WpfColorPicker -Version 2.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WpfColorPicker" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WpfColorPicker" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="WpfColorPicker" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WpfColorPicker --version 2.0.2
                    
#r "nuget: WpfColorPicker, 2.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WpfColorPicker@2.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WpfColorPicker&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=WpfColorPicker&version=2.0.2
                    
Install as a Cake Tool

WpfColorPicker

A modern, full-featured WPF Color Picker UserControl for .NET 8.

Full documentation: WpfColorPicker-guide.md — API reference, architecture, integration guides, and usage examples.

What's New in 2.0.2

  • +10 UI localizations added — uk-UA, cs-CZ, vi-VN, hu-HU, ro-RO, id-ID, th-TH, el-GR, da-DK, fi-FI — reaching 28 satellite resource locales (Phase 6 wave).
  • Self-contained NuGet localization fix — subclass resources are now loaded correctly when the package is consumed standalone (Phase 5 fix for the constructor-ordering bug that prevented satellite assemblies from resolving).
  • NeutralLanguage=en-US declared so ResourceManager no longer warns at build time.
  • No public API changes — drop-in upgrade from 2.0.1.

What's New in 2.0.1

  • HSV color wheel + RGB/HSL sliders + opacity + recent colors + eyedropper — full feature set wired with DynamicResource theming so the picker follows the host app's theme.

Features

  • HSV Color Wheel — intuitive hue/saturation selection with value slider
  • RGB / HSL Sliders — precise numeric color adjustment
  • Hex Input — type hex color codes directly (#RRGGBB / #AARRGGBB)
  • Opacity Support — alpha channel slider for transparent colors
  • Standard Palettes — predefined color sets for quick selection
  • Recent Colors — automatically tracks recently used colors
  • Themeable — uses WPF DynamicResources for seamless theme integration
  • Zero Dependencies — standalone assembly, no external NuGet packages

Quick Start

<Window xmlns:cp="clr-namespace:WpfHexEditor.ColorPicker.Controls;assembly=WpfHexEditor.ColorPicker">
    <cp:ColorPicker SelectedColor="Blue"
                    ColorChanged="ColorPicker_ColorChanged" />
</Window>
private void ColorPicker_ColorChanged(object sender, Color color)
{
    // Use the selected color
    myBorder.Background = new SolidColorBrush(color);
}

Theme Integration

The control uses these DynamicResources (optional — fallbacks are built-in):

Resource Key Usage
BorderBrush Control frame border
SurfaceElevatedBrush Hex display background
ForegroundBrush Text color

Installation

dotnet add package WpfColorPicker

License

GNU AGPL v3.0 — GitHub Repository

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 0 5/12/2026
2.0.1 64 4/10/2026
0.1.2 1,515 12/25/2019

2.0.2 — +10 new localizations (uk-UA, cs-CZ, vi-VN, hu-HU, ro-RO, id-ID, th-TH, el-GR, da-DK, fi-FI) reaching 28 total via ColorPickerResources satellite assemblies; Phase 5 self-contained NuGet localization (subclass resources loading fix). 2.0.1 — HSV color wheel + RGB/HSL sliders + opacity + recent colors + eyedropper + DynamicResource theming.