gNumber

The green channel of the color, in the range from 0 to 1.

Example

<script>
var color = kendo.parseColor("#00ff00");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(color.g); // logs 1

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