ASP.NET MVC ColorPicker Overview

Telerik UI for ASP.NET MVC Ninja image

The ColorPicker is part of Telerik UI for ASP.NET MVC, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

The Telerik UI ColorPicker HtmlHelper for ASP.NET MVC is a server-side wrapper for the Kendo UI ColorPicker widget.

The ColorPicker is a drop-down list for selecting colors.

Initializing the ColorPicker

The following example demonstrates how to define the ColorPicker.

    @(Html.Kendo().ColorPicker()
          .Name("colorpicker") // The name of the ColorPicker is mandatory. It specifies the "id" attribute of the widget.
          .Value("#ff0000") // Set the value of the ColorPicker.
    )

Functionality and Features

  • Views—The ColorPicker enables you to choose between gradient or palette view types.
  • Appearance—The ColorPicker provides you with the option to customize its appearance based on your requirements.
  • Contrast Tool—The ColorPicker enables you to configure the contrast tool.
  • Formats—The ColorPicker provides support for both HEX and RGB coloring formats.

Next Steps

See Also

In this article