# FlatColorPicker Views

The FlatColorPicker is a component with a new and modern design. One of the available features is the [views](https://docs.telerik.com/kendo-ui/api/ui/flatcolorpicker/configuration/views) configuration. It allows you to choose between a `gradient` and a `palette` view. You can also choose which the default view would be through the [view](https://docs.telerik.com/kendo-ui/api/ui/flatcolorpicker/configuration/view) option.

```Razor HtmlHelper
@(Html.Kendo().FlatColorPicker()
      .Name("tail")
      .Value("#000")
      .Events(ev => ev.Change("select"))
      .Preview(false)
      .View("palette")
      .Views(new string[] {"gradient", "palette"})
      .HtmlAttributes(new { @class = "picker" })
)
```

## See Also

* [Views of the FlatColorPicker (Demo)](https://demos.telerik.com/aspnet-mvc/flatcolorpicker/views)
* [JavaScript API Reference of the FlatColorPicker](https://docs.telerik.com/kendo-ui/api/ui/flatcolorpicker)
