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

ToHex

methods

Returns a string in "FF0000" form (without a leading #).

Returns:String

The color in hex notation.

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