toDisplay
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.
Example
<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>
In this article