Dirkster.ColorPickerLib 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Dirkster.ColorPickerLib --version 1.5.0
NuGet\Install-Package Dirkster.ColorPickerLib -Version 1.5.0
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="Dirkster.ColorPickerLib" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dirkster.ColorPickerLib --version 1.5.0
#r "nuget: Dirkster.ColorPickerLib, 1.5.0"
#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.
// Install Dirkster.ColorPickerLib as a Cake Addin
#addin nuget:?package=Dirkster.ColorPickerLib&version=1.5.0

// Install Dirkster.ColorPickerLib as a Cake Tool
#tool nuget:?package=Dirkster.ColorPickerLib&version=1.5.0

Build status Release NuGet


A WPF/MVVM implementation of a themeable color picker control

<table> <tr> <td> <img src="https://github.com/Dirkster99/Docu/blob/master/ColorPickerLib/DemoProgramm_Screenshot.png"> </td> <td> <img src="https://github.com/Dirkster99/Docu/blob/master/ColorPickerLib/DemoProgramm_Screenshot_PopUp1.png"> </td> </tr> </table>

alternate text is missing from this package README image

Project Description

This project implements a Color Picker control using MVVM/Windows Presentation Foundation (WPF) pattern and technology. These controls can be themed in dark and light themes and are localized.

You can test these controls with the demo application provided in this repository.


This version of the control implements:

  • a few bug fixes (eg.: you cannot enter letters or more than 3 digits in a channel input element).

Supports localization for:

  • Chinese (Simplified) and Chinese (Traditional)
  • Dutch
  • English
  • French
  • German
  • Hindi
  • Indonesian
  • Italian
  • Japanese
  • Spanish

These 4 styles have to be included to avoid a transparent background in the pop-up control:

    <SolidColorBrush x:Key="PopupBackgroundBrush"  Color="#FF252526" />
    <SolidColorBrush x:Key="PopupDarkBorderBrush" Color="#FFABADB3" />
    <DrawingBrush  x:Key="CheckerBrush" Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                <GeometryDrawing Brush="White">
                        <RectangleGeometry Rect="0,0 100,100" />
                <GeometryDrawing Brush="LightGray">
                            <RectangleGeometry Rect="0,0 50,50" />
                            <RectangleGeometry Rect="50,50 50,50" />
    <SolidColorBrush x:Key="ColorPickerDarkBorderBrush" Color="Black" />


Load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.

        <ResourceDictionary Source="/ColorPickerLib;component/Themes/DarkBrushs.xaml" />
        <ResourceDictionary Source="/ColorPickerLib;component/Themes/LightBrushs.xaml" />

These definitions do not theme all controls used within this library. You should use a standard theming library, such as:

to also theme standard elements, such as, button and textblock etc.


This project implements a WPF Color Picker control.

The project is based on:

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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 (1)

Showing the top 1 popular GitHub repositories that depend on Dirkster.ColorPickerLib:

Repository Stars
Our own development branch of the well known WPF document docking library
Version Downloads Last updated
1.6.2 26,166 11/13/2020
1.6.0 82,834 9/3/2019
1.5.1 1,590 2/28/2019
1.5.0 1,293 8/28/2018 902 8/19/2018
1.3.0 828 8/17/2018
1.1.0 804 8/16/2018
1.0.0 1,214 9/13/2017

Added Color Space Selection and support for RGB and HSV