The color picker control provides a rich visual interface for color selection. The user can select a color from professionally designed palettes or a custom color. By clicking a point in a color, we can change the active color to the one located under the pointer. Users can also choose colors in different specifications; red-green-blue-alpha (opacity) (RGBA), hue-saturation-value (HSV), and hexadecimal (HEX). The color picker provides a selection of basic colors, standard presets, custom colors, and color swatches.
The color picker displays a drop-down with multiple ways to pick a specific color in a WYSIWYG manner. The selected color is displayed at the top of the control. Users can also adjust the opacity value and hue value with corresponding sliders.
The color picker palette model has 12 different palette patterns. Each pattern consists of 50 colors, meaning over 600 colors are available by default.
Custom palettes are created by passing a comma-delimited string of HEX values or an array of colors.
The color picker will keep up to 11 colors in a custom list. Users will simply click Add to add a color to the list.