
var hex=255; // Initial color value.

function fade() { 
	if(hex>0) { //If color is not black yet
		hex-=5; // increase color darkness
		document.getElementById("rightColumn").style.color="rgb("+hex+","+hex+","+hex+")";
		setTimeout("fade()",10);
	} else {
		hex=255; //reset hex value
	}
}

window.onload = fade;