diff --git a/index.html b/index.html index 4f84b1f..10137d4 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,7 @@ var rgb = Math.floor(Math.abs(1 - p) * 255); //set the color var colorString = "rgb(" + rgb + "," + rgb + "," + rgb + ")"; document.body.style.backgroundColor = colorString; + console.log(colorString); }