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

ToCss

methods

Like toHex, but includes a leading #.

Returns:String

The color in CSS notation.

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