three js change background color code example
Example: three.js renderer background color
var scene = new THREE.Scene(); // initialising the scene
scene.background = new THREE.Color( 0xff0000 );
var scene = new THREE.Scene(); // initialising the scene
scene.background = new THREE.Color( 0xff0000 );