code: function(){
  			try {
  				this.preview.backgroundColor = this.format.call(this);
  			} catch(e) {
  				this.preview.backgroundColor = this.color.toHex();
  			}
  			//set the color for brightness/saturation slider
  			this.base.backgroundColor = this.color.toHex(this.color.value.h, 1, 1, 1);
  			//set te color for alpha slider
  			if (this.alpha) {
  				this.alpha.backgroundColor = this.color.toHex();
  			}
  		}
docs: preview color change