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="ColorGradient"></div>
<script>
$("#ColorGradient").kendoColorGradient({
  format: "rgb",
  formats: ["rgb"]
});
</script>
In this article