Example of undefined in React Color Picker Component

/
/
Default

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

More Details...

Loading....
Description

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 the value 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.