New to Telerik UI for ASP.NET MVC? Start a free 30-day trial
RGB and HEX Input Formats
Updated on Dec 10, 2025
The FlatColorPicker supports both RGB and HEX formats as input through its Formats configuration. To choose the default format, use the Format option:
Razor
@(Html.Kendo().FlatColorPicker()
.Name("rgb")
.Buttons(true)
.Value("#ff0000")
.Format("rgb")
.Formats(new string[] {"rgb","hex"})
)