New to Kendo UI for jQueryStart a free 30-day trial

ContrastTool

configuration

Enables the contrast tool in the ColorGradient.

contrastTool

Boolean|Object

Default: false

<div id="ColorGradient"></div>
<script>
$("#ColorGradient").kendoColorGradient({
  contrastTool: true
});
</script>

Sets the background color for the contrast tool in the ColorGradient.

Default: '#ffffff'

<div id="ColorGradient"></div>
<script>
$("#ColorGradient").kendoColorGradient({
  contrastTool: {
    backgroundColor: "#ff0000"
  }
});
</script>