color() : number;
Gets the current color value of the node, in the form
[r, g, b, a]. Each component is a number between 0 and 1.
The final component, alpha, is the opacity of the object, where 0 is fully transparent and 1 is fully opaque.
[1, 1, 1, 1]
The color of the node.
var c = myobject.color(); // c is [1, 1, 1, 1]