Cyotek.Windows.Forms.ColorPicker 2.0.0-beta.7

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of Cyotek.Windows.Forms.ColorPicker.
dotnet add package Cyotek.Windows.Forms.ColorPicker --version 2.0.0-beta.7
NuGet\Install-Package Cyotek.Windows.Forms.ColorPicker -Version 2.0.0-beta.7
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="Cyotek.Windows.Forms.ColorPicker" Version="2.0.0-beta.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cyotek.Windows.Forms.ColorPicker --version 2.0.0-beta.7
#r "nuget: Cyotek.Windows.Forms.ColorPicker, 2.0.0-beta.7"
#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 Cyotek.Windows.Forms.ColorPicker as a Cake Addin
#addin nuget:?package=Cyotek.Windows.Forms.ColorPicker&version=2.0.0-beta.7&prerelease

// Install Cyotek.Windows.Forms.ColorPicker as a Cake Tool
#tool nuget:?package=Cyotek.Windows.Forms.ColorPicker&version=2.0.0-beta.7&prerelease

Cyotek.Windows.Forms.ColorPickers Control Collection

The Cyotek.Windows.Forms.ColorPickers library contains a series of custom controls and utility classes for Windows Forms applications that work with colours. Controls are available to allow colour selection via a HSL ColorWheel, a ColorGrid with many customisation options, a ColorEditor for entering colours via RGB or HSL, and a ScreenColorPicker for capturing colours from running applications.

Color palettes can be loaded and saved in a number of different formats, including Adobe PhotoShop Color Swatch files, JASC Palettes, Gimp Palettes and more (see Color Palettes and External Palette Files below).

For more information on these controls, see the [articles tagged with colorpicker][blogtag] at cyotek.com.

Controls

There are three primary controls (ColorGrid, ColorWheel and ColorEditor), along with 5 utility controls (ScreenColorPicker, RgbaColorSlider, HueColorSlider, LightnessColorSlider and SaturationColorSlider), a management component (ColorEditorManager) and one dialog (ColorPickerDialog). Combined together, these provide a decent array of tools for colour selection.

ColorGrid Control

This control displays a grid of colours, and supports both a primary palette, and a custom colour palette. Several properties are available for configuring the appearing of the control, and there are behaviour options too, such as built in editing of colours and support for automatically adding new colours not in the primary palette.

ColorWheel Control

This control displays a radial wheel of RGB colours and allows selection from any point in the wheel. Not much in the way of customisation for this control!

ColorSlider Controls

A bunch of controls (inheriting from a single base) that allow selection of values via a colourful bar. Similar to the TrackBar control you have a few options for specifying the drag handle's position and bar orientation.

ColorEditor Control

This control allows the editing of a RGB or HSL colour via a standard interface.

ScreenColorPicker Control

This control allows the user to pick a colour from any pixel displayed on the screen.

ColorPickerDialog Form

This form puts together the previous controls in a ready to use dialog.

ColorEditorManager

This is a non-GUI component that you can drop onto a form, and bind to other controls in this library. When the Color property of one control changes, it is reflected in the others without having to lift a finger. Useful if you're creating composite displays from multiple controls.

Color Palettes and External Palette Files

The ColorGrid control has Colors and CustomColors properties which return a ColorCollection. These two properties make it easier as a developer to keep separate a primary palette whilst having the flexibility of custom colours, although it does complicate the control's internal logic a bit! The grid will automatically populate custom colours if you try and set the control's Color to a value not currently defined.

As well as manually populating ColorCollection instances, you can also load in external palette files. The following palette formats are supported:

  • Adobe Color Table (*.act)
  • Adobe PhotoShop Color Swatch (*.aco)
  • GIMP (*.gpl)
  • Deluxe Paint (*.bbm; *.lbm) [read only]
  • JASC (*.pal)
  • Paint.NET (*.txt)
  • Raw RGB Triplets (*.pal)

With the exception of the ILBM image format, all other formats can be exported as well as imported.

Additional palette serializers can be easily created by adding a class which implements IPaletteSerializer. The ColorPickerDialog (or any custom code using PaletteSerializer static methods) will automatically detect and make available custom palettes via reflection.

Keyboard Support

All GUI components, with the exception of the ScreenColorPicker include full keyboard/focus support. Many controls support SmallChange and LargeChange properties which influence how navigation keys are processed. Although in the case of the ColorWheel it's not really a bonus... but that's what the ColorEditor control is best suited for!

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 is compatible.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Cyotek.Windows.Forms.ColorPicker:

Package Downloads
stigzler.utility.controls

A collection of useful winforms controls

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Cyotek.Windows.Forms.ColorPicker:

Repository Stars
Abdelrhman-AK/WinPaletter
Advanced Windows Appearance Editor
ptrsuder/IEU.Winforms
Windows only GUI for ESRGAN with additional features
Version Downloads Last updated
2.0.0-beta.7 1,332 11/15/2021
2.0.0-beta.6 169 10/22/2021
2.0.0-beta.5 180 10/20/2021
2.0.0-beta.4 181 10/18/2021
2.0.0-beta.3 144 10/17/2021
2.0.0-beta.2 152 10/17/2021
2.0.0-beta.1 185 10/17/2021
2.0.0-alpha9 264 10/16/2021
2.0.0-alpha8 282 10/16/2021
2.0.0-alpha7 243 10/15/2021
2.0.0-alpha6 205 10/15/2021
2.0.0-alpha5 258 10/14/2021
2.0.0-alpha4 250 10/14/2021
2.0.0-alpha3 241 10/13/2021
2.0.0-alpha2 220 10/12/2021
2.0.0-alpha1 262 10/11/2021
1.7.2 51,473 12/3/2017