# ColorPalette Overview

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

The ColorPalette component provides collections of predefined colors that you can select and apply in various UI components, texts, backgrounds, and other visual elements.

* [Demo page for the ColorPalette](https://demos.telerik.com/aspnet-mvc/colorpalette)

## Initializing the ColorPalette

The following example demonstrates how to define a ColorPalette.

```Razor HtmlHelper
    @(Html.Kendo().ColorPalette()
        .Name("colorpalette") // The name of the ColorPalette is mandatory. It specifies the "id" attribute of the component.
        .Value("#ff0000") // Set the value of the ColorPalette.
    )
```

## Basic Configuration

The following example showcases a basic configuration of the ColorPalette with four columns, specified width and height of the color cells, and a predefined color palette.

```Razor HtmlHelper
    @(Html.Kendo().ColorPalette()
        .Name("color-chooser")
        .Palette(new string[] { "#ddd1c3", "#d2d2d2", "#746153", "#3a4c8b", "#ffcc33", "#fb455f", "#ac120f" })
        .TileSize(ts => ts.Width(50).Height(50))
        .Columns(4)
        .Value("#ffcc33")
    )
```

## Functionality and Features

* [Color Presets](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/colorpalette/presets)—Use predefined color palettes or configure a custom set of palettes.
* [Events](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/colorpalette/events)—Subscribe to the ColorPalette `Change` event and implement the desired custom logic.
* [Accessibility](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/colorpalette/accessibility/overview)—The ColorPalette is accessible for screen readers, supports WAI-ARIA attributes, and delivers [keyboard shortcuts](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/wizard/accessibility/keyboard-navigation) for faster navigation.

## Next Steps

* [Getting Started with the ColorPalette](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/colorpalette/getting-started)
* [Basic Usage of the ColorPalette HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/colorpalette/index)

## See Also

* [Using the API of the ColorPalette for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/colorpalette/api)
* [Knowledge Base Section](https://www.telerik.com/aspnet-mvc/documentation/knowledge-base)
