|
@@ -55,7 +55,7 @@ console.log(volumeControl.getValue())
|
|
|
|
|
|
|
|
|
function setRGB() {
|
|
|
- document.body.style.backgroundColor = `rgba(${red.getValue()},${green.getValue()},${blue.getValue()},1)`;
|
|
|
+ document.body.style.backgroundColor = `rgba(${red.getValue()},${green.getValue()},${blue.getValue()})`;
|
|
|
}
|
|
|
|
|
|
const red = new Control(container1, { min: 0, max: 255 })
|