# Views

The [`Views()`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/colorpickerbuilder#viewssystemstring) configuration allows you to choose between the `Gradient` and `Palette` views. Also, you can specify the initially selected view through the [`View()`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/colorpickerbuilder#viewkendomvcuicolorpickerview) option.

> The `Views()` configuration was introduced with the R3 2021 SP1 release.

The following example shows how to enable the available ColorPicker views and define a default view that will be displayed when the component opens.

```Razor HtmlHelper
    @(Html.Kendo().ColorPicker()
        .Name("PatetteColorPicker")
        .Preview(false)
        .View(ColorPickerView.Palette)
        .Views(new string[]{ "gradient", "palette" })
    )

    @(Html.Kendo().ColorPicker()
        .Name("GradientColorPicker")
        .Preview(false)
        .View(ColorPickerView.Gradient)
        .Views(new string[]{ "gradient", "palette" })
    )
```

## See Also

* [Views of the Telerik UI for ASP.NET MVC ColorPicker (Demo)](https://demos.telerik.com/aspnet-mvc/colorpicker/views)
* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/colorpicker)
* [Client-side API](https://docs.telerik.com/kendo-ui/api/ui/colorpicker)
