Simple setRGB via XML?

I have ran across many complex solutions but I’m looking for something more simple. Here is what I have so far, but it is not working.

[AS]var colorful = new Color("");

xmlNav = new XML();
xmlNav.ignoreWhite = true;
xmlNav.onLoad = loadXML;

function loadXML(loaded) {
if (loaded) {
colorful.setRGB = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
Here is the XML:
[AS]<?xml version=“1.0”?>



What am I missing?