Skip to main content

Features

This page collects the guides and API references that help you start with DHTMLX Colorpicker and explore its functionality in depth.

How to start with DHTMLX Colorpicker​

This section explains how to initialize and localize Colorpicker, and how to integrate it into your applications.

Initialization and localization​

TopicDescription
Basic initializationLearn how to initialize Colorpicker (Example)
Colorpicker inside PopupLearn how to initialize Colorpicker in a popup (Example)
LocalizationLearn how to localize Colorpicker (Example)

Integration​

TopicDescription
Backend integrationLearn how to connect DHTMLX Suite to a backend (Demo)
OptimusLearn how to use the DHTMLX Optimus framework to create DHTMLX-based apps
(the recommended framework for apps built with Suite components)
React integrationLearn how to use DHTMLX Colorpicker with React (Demo)
Angular integrationLearn how to use DHTMLX Colorpicker with Angular (Demo)
Vue integrationLearn how to use DHTMLX Colorpicker with Vue.js (Demo)

How to configure Colorpicker​

This section explains how to configure Colorpicker display modes.

TopicDescription
Setting Colorpicker mode ("palette", "picker")Learn how to configure the Colorpicker display mode (Example)
Displaying the picker onlyLearn how to hide the palette and display the picker only (Example)
Displaying the palette onlyLearn how to hide the panel with custom colors (Example)

How to configure palette​

This section explains how to configure and customize the palette.

TopicDescription
Hiding gray shadesLearn how to hide gray shades at the top of the palette (Example)
Displaying custom colorsLearn how to display a list of custom colors at the bottom of Colorpicker
Configuring custom paletteLearn how to display Colorpicker with a custom palette (Example)

How to customize Colorpicker and change its size​

This section explains how to customize Colorpicker and change its width.

TopicDescription
Width of ColorpickerLearn how to change the Colorpicker width
Styling (custom CSS)Learn how to change the look and feel of Colorpicker (Example)
List of CSS classesThe set of CSS classes that the DHTMLX library provides

How to work with Colorpicker​

This section explains how to set and get the selected color, how to manage the custom colors at the bottom of Colorpicker, and how to change the current Colorpicker mode.

TopicDescription
Setting selection to a colorLearn how to select a color in Colorpicker (Example)
Getting selected colorLearn how to get the code of a selected color
Setting custom colorsLearn how to display custom colors at the bottom of Colorpicker (Example)
Getting custom colorsLearn how to get the codes of the selected custom colors
Changing Colorpicker modeLearn how to change the current Colorpicker mode (Example)
Getting Colorpicker modeLearn how to get the current Colorpicker mode
Setting focusLearn how to set focus on a color (Example)

How to work with Colorpicker events​

This section explains how to work with Colorpicker events.

TopicDescription
Event basic rulesLearn basic rules on how to work with events
Event handlingLearn how to attach, detach, or call the Colorpicker events (Example)

API reference​

This section links to the Colorpicker API reference.

TopicDescription
Colorpicker methodsCheck the list of Colorpicker methods
Colorpicker eventsCheck the list of Colorpicker events
Colorpicker propertiesCheck the list of Colorpicker properties

Common functionality​

This section covers common library features that help when you work with Colorpicker.

TopicDescription
Touch supportLearn how to work with touch support
TypeScript supportLearn how to work with TypeScript
AwaitRedrawLearn how to run code after the component renders

Any questions left?​


info

Do you need more functionality? Feel free to share your suggestions in the comments below!