MovieClip colour !HELP!

I am trying to use arrays to put a colour value in to a text box.

colorbg = new Color(backGholder);
colorbg.setRGB(bgArray);

backGholder is the movieclip and bgArray is the colour. The text in the array needs to come from a text box. I am colour values like 0xCCCCCC.:hangover: