Hiding dynamic characters

Quick question:

I’m building an application with a color picker, and I am trying to return the rgb value of the selected color. Everything works great, except I get the 0x in front of it, e.g. 0xFF0000. How can I make this AS get rid of those characters before the text is displayed?

bgcolor = (picker1.hex);
picker1.onColorChange = function() {
	bgcolor = picker1.hex;
};