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

Example of ColorPicker in ASP.NET Core Color Picker Control

Click the submit button to post the current value of the ColorPicker. When submitting with color value `#000080`, validation error message will be shown by using Data Annotation.

DEMO
SOURCE

Choose a color

This sample demonstrates For extensions tag helper support in ColorPicker. You can bind model property to the ColorPicker by adding an attribute `ejs-for` and assign model property to it, and also add `name` attribute and assign model property to it. While submitting form, the model property will be based on current value of the ColorPicker.

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

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab