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

ToDisplay

methods

Returns the color in the best notation supported by the current browser. In IE < 9 this returns the #FF0000 form; in all other browsers it returns the RGBA form.

Returns:String

The color in the best notation supported by the current browser.

<script>
var color = kendo.parseColor("#ff0000");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(color.toDisplay()); // logs "rgba(255, 0, 0, 1)" in modern browsers
</script>
Not finding the help you need?
Contact Support