ckrbd.js
//Goes from 0 (black) to 250 (very light grey) as n goes from 0 to infinity.
Goes from 0 (black) to 250 (very light grey) as n goes from 0 to infinity.
Goes from 0 ( black ) to 250 ( very light grey ) as n goes from 0 to infinity .
function greyLevel(n){  
    var greyLevel = Math.floor(250 - 250/Math.pow(1.2,n));
    return "rgb("+greyLevel+","+greyLevel+","+greyLevel+")";
}
function greyLevel ( n ) { var greyLevel = Math . floor ( 250 - 250 / Math . pow ( 1.2 , n ) ) ; return "rgb(" + greyLevel + "," + greyLevel + "," + greyLevel + ")" ; }
Goes from 0 (black) to 250 (very light grey) as n goes from 0 to infinity.
Goes from 0 ( black ) to 250 ( very light grey ) as n goes from 0 to infinity .
//as n goes goes from 1 to infinity.