setRGB question

var cLewis : new Color (mcLewis);
cLewis.setRGB(0x000000);

This code should make ‘mcLewis’ completley black right?

Yet I get this error message :

Error Scene=Scene 1, layer=actions, frame=1:Line 1: A type identifier is expected after the ‘:’.
var cLewis : new Color (mcLewis);

Can anybody help please?