[SOLVED] element.color.set not working

@will How would this work in a tween? Having trouble with this at the moment. This is turning the color white for me

this.app
        .tween(currentColor)
        .to(new pc.Color(182,84,44,1), 1.0, pc.Linear)
        .on('update', function () {
            currentElement.color = currentColor;
        })
        .start();