This project has moved and is read-only. For the latest updates, please go here.


Derives from Control

The ColorPicker is an editor that allows a user to pick a color from predefind color palettes. By default, there are 140 available colors and 10 predefined standard colors. You can use your own custom color palettes by setting the AvailableColors and StandardColors properties accordingly. You can also get/set the recently used colors by using the RecentColors property.

Display (DisplayColorAndName = true/false)

Expanded Standard

Expanded Advanced


Property Description
AdvancedButtonHeader Gets or sets a value representing the text to use for the "Advanced" button in the ColorPicker's popup.
AvailableColors Gets or sets all colors that are available to the user for selection.
AvailableColorsHeader Gets or sets the header text of the Available Colors section.
AvailableColorSortingMode Gets or sets the way the Available colors are sorted (Alphabetical or by HueSaturationBrightness). By default, Alphabetical.
ButtonStyle Gets or sets the dropdown button style.
ColorMode Gets or sets the current display of the ColorPicker (ColorPalette or ColorCanvas). By default, ColorPalette.
DisplayColorAndName Gets or sets a value indicating if the control should display the color, or the color and color name.
IsOpen Gets or sets the value indicating if the color dropdown is open.
RecentColors Gets or sets all the recently selected colors.
RecentColorsHeader Gets or sets the header text of the Recent Colors section.
SelectedColor Gets or sets the currently selected color.
SelectedColorText Gets the known color name, or the color hexadecimal string of the SelectedColor.
ShowAdvancedButton Gets or sets the visibility of the Advance color mode button.
ShowAvailableColors Gets or sets the visibility of the AvailableColors.
ShowDropDownButton Gets or sets a value indicating whether the dropdown button is shown.
ShowRecentColors Gets or sets the visibility of the RecentColors (false by default).
ShowStandardColors Gets or sets the visibility of the StandardColors.
StandardButtonHeader Gets or sets the text to use for the "Standard" button in the ColorPicker's popup.
StandardColors Gets or sets a standard color palette.
StandardColorsHeader Gets or sets the header text of the Standard Colors section.
UsingAlphaChannel Gets a value indicating whether the alpha channel is being used.


Event Description
SelectedColorChanged Raised when the SelectedColor value changes.

Support this project, check out the Plus Edition.

Last edited Jun 1, 2016 at 3:48 PM by dlafontaine, version 23


dirkster Oct 2, 2015 at 10:32 PM 
I quit like the control so much that I've developed an advanced version of it in a separate library:

This version of the control can be localized and theme dark and light. There also usability improvements such as using 'FF00FF00' at the UI level instead of using '#FF00FF00' and some other obvious usability fixes. Thanks for this great work :-)

BoucherS Oct 6, 2014 at 2:37 PM 
Hi Yecats,
Please use a discussion tab or issue tab to explain the problem you find.
For the Transparent bug, I can't reproduce it. Setting the ColorPicker to transparent in XAML lets me change the color with the popup of the ColorPicker and I can see the new color inside the colorPicker.

Yecats Oct 5, 2014 at 4:29 AM 
Is there a bug when you set the SelectedColor to transparent? If I set it in the XAML or Window Load it lets me pick a new color but never changes the color within the button.

tilonthuduc Jul 28, 2012 at 4:46 AM 
This is the really great free WPF Controls Lib I've ever used. Thanks.

surpavan May 21, 2012 at 6:05 PM 
A truly A Great Control.

sixfeetsix Aug 13, 2011 at 11:12 AM 
Great control. I'm using it, but modified to remove the alpha channel. Just a suggestion: perhaps make the alpha channel optional with some property named something like "ShowAlpha"?

LisaTatum Nov 15, 2010 at 10:59 PM 
hehe *thumbs up*