Thanks to visit codestin.com
Credit goes to www.telerik.com

New to Telerik UI for ASP.NET CoreStart a free 30-day trial

RGB and HEX Input Formats

Updated over 6 months ago

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(ColorPickerFormat.Rgb)
      .Formats(new string[] {"rgb","hex"})
)

See Also

In this article
See Also
Not finding the help you need?
Contact Support