ASP.NET Core ColorPicker Setup

Shield UI ColorPicker for ASP.NET Core is a server-side wrapper component implemented as an ASP.NET Core MVC Helper.

For a detailed guide how to setup Shield UI for your ASP.NET Core project, check out this page.

The ASP.NET Core MVC helper API is a 1:1 mapping of the JavaScript ColorPicker widget configuration, so you only have to get familiar with a single set of configuration options:

 // JavaScript ColorPicker demo
 $("#colorpicker").shieldColorPicker({
       value: "#faf1f1",
       showLetter: true
 });
// ASP.NET Core ColorPicker demo
@(Html.ShieldColorPicker()
    .Name("#colorpicker")
    .Value("#faf1f1")
    .ShowLetter(true))

To see the configuration options in action, please refer to our online demos.