# setRGB question

**URL:** https://forum.kirupa.com/t/setrgb-question/159197
**Category:** Uncategorized
**Created:** [August 15, 2005, 6:17pm UTC](https://forum.kirupa.com/t/setrgb-question/159197 "2005-08-15T18:17:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lewwy](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Lewwy](https://forum.kirupa.com/u/Lewwy)
#### Post date: [August 15, 2005, 6:17pm UTC](https://forum.kirupa.com/t/setrgb-question/159197/1 "2005-08-15T18:17:19Z")

</div>

```auto
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?
