12 ms·
I looked around. and found this http://jsfiddle.net/xLF38/ http://jsfiddle.net/xLF38/ Hope it's helpful. a bug fix: `document.body.style.backgroundColor = 'r
by chanux 15y ago
I looked around. and found this http://jsfiddle.net/xLF38/ http://jsfiddle.net/xLF38/
Hope it's helpful.
a bug fix:
`document.body.style.backgroundColor = 'rgb('+rgb.r+','+rgb.b+','+rgb.g+')';`
should be
`document.body.style.backgroundColor = 'rgb('+rgb.r+','+rgb.g+','+rgb.b+')';
`