https://github.com/egorozh/Egorozh.ColorPicker
🎨🎨🎨 Best of the best ColorPicker on WPF and AvaloniaUI
https://github.com/egorozh/Egorozh.ColorPicker
avalonia avaloniaui color-palette color-picker colorpicker csharp netcore wpf
Last synced: about 1 year ago
JSON representation
🎨🎨🎨 Best of the best ColorPicker on WPF and AvaloniaUI
- Host: GitHub
- URL: https://github.com/egorozh/Egorozh.ColorPicker
- Owner: egorozh
- License: mit
- Created: 2020-02-29T15:20:05.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-03-15T17:48:31.000Z (over 2 years ago)
- Last Synced: 2025-05-11T08:48:37.054Z (about 1 year ago)
- Topics: avalonia, avaloniaui, color-palette, color-picker, colorpicker, csharp, netcore, wpf
- Language: C#
- Homepage:
- Size: 1.03 MB
- Stars: 77
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-avalonia - Egorozh.ColorPicker - A color picker with RGB and HSB support. (Libraries & Extensions / Controls)
README
[](https://www.nuget.org/packages/Egorozh.ColorPicker.Avalonia.Dialog/) [](https://www.nuget.org/packages/Egorozh.ColorPicker.WPF.Dialog/) [](https://www.nuget.org/packages/Egorozh.ColorPicker.WPF.Dialog.MahApps/)
# Egorozh.ColorPicker
## AvaloniaUI ColorPicker:



### AvaloniaUI Getting Started
Install the library as a NuGet package:
```powershell
Install-Package Egorozh.ColorPicker.Avalonia.Dialog
# Or 'dotnet add package Egorozh.ColorPicker.Avalonia.Dialog'
```
Then, reference the preffered theme from your `App.xaml` file:
```xml
```
Done! Use ColorPickerButton
```xml
```
or ColorPickerDialog:
```c#
ColorPickerDialog dialog = new ()
{
Color = _color
};
var res = await dialog.ShowDialog(Owner);
if (res)
_color = dialog.Color;
```
## WPF ColorPicker:





### WPF Getting Started
Install the library as a NuGet package:
```powershell
Install-Package Egorozh.ColorPicker.WPF.Dialog
# Or 'dotnet add package Egorozh.ColorPicker.WPF.Dialog'
```
Done! Use ColorPickerButton
```xml
```
or ColorPickerDialog:
```c#
var dialog = new ColorPickerDialog
{
Owner = Owner,
Color = Color
};
var res = dialog.ShowDialog();
if (res == true)
Color = dialog.Color;
```
### To run MahApps Version:
Install the library as a NuGet package:
```powershell
Install-Package Egorozh.ColorPicker.WPF.Dialog.MahApps
# Or 'dotnet add Egorozh.ColorPicker.WPF.Dialog.MahApps'
```
Then, reference the preffered theme from your `App.xaml` file:
```xml
```