Skip to content

Example of Default Functionalities in ASP.NET MVC ColorPicker Control

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 the value property, set the color value to picker and palette initially.