• Material 3
  • Bootstrap 5
  • Fluent 2
  • Tailwind CSS
  • Fluent 2 High Contrast
  • High Contrast
  • Tailwind
  • Fluent
Preferences
Theme Selection
Theme Modes
Localization
* Translated by Google Translator
Currency

Color Picker

This sample demonstrates the default functionalities of the color picker/palette with default colors and predefined styles.

Choose a color

The ColorPicker component is a user interface to select and adjust color values. This supports various color specifications like RGB (Red Green Blue), HSV (Hue Saturation Value), and Hex codes.

In this sample, the ColorPicker popup contains picker area, slider to adjust hue and opacity value, input textarea, and control buttons.

  • Drag the handle in the picker area to select your favorite color.
  • You can manually set the color by typing the color values in the input text boxes.
  • By clicking the format switching icon at the right side of the input text area, switch between palette and picker mode.
  • By clicking the mode switching icon at the left bottom of the popup, switch between palette and picker mode.
  • Using thevalue property, set the color value to picker and palette initially.

In mobile mode, the popup opens at the center of the viewport.

More information about ColorPicker can be found in this documentation section.

Transform your Next.js web apps today with Syncfusion® React components
80+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE