How to set/change the Color of a Node?

Hi,

Does anyone know if there is a way to update or change the Color of a Node/sprite using a script?
I was looking into things like

this.node.color(#808080);
this.node.Color(#808080);
this.node.setColor(#808080);

But none worked. Any help would be appreciated, thanks.

node.color = new cc.Color(255, 255, 255);

from http://www.cocos2d-x.org/docs/api-ref/creator/v1.0/classes/Node.html

cc.hexToColor can help convert hex to color.

node.color = cc.hexToColor('#ffffff');

@mbu @jyinkailej
Awesome, thanks guys!