rNumber
The red channel of the color, in the range from 0 to 1.
Example
<script>
var color = kendo.parseColor("#ff0000");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(color.r); // logs 1
var greenColor = kendo.parseColor("#00ff00");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(greenColor.r); // logs 0
</script>
In this article