formats Array (default: ["hex", "rgb"])

Sets the available input formats in the gradient input editor. Only "hex" and "rgb" are valid values.

Example

<div id="flatcolorpicker"></div>
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
  format: "rgb",
  formats: ["rgb"]
});
</script>
In this article