gl.clearColor(1, 0.5, 0.5, 1);WebGLRenderingContext: clearColor() method / notebook
WebGLRenderingContext: clearColor() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
gl.getParameter(gl.COLOR_CLEAR_VALUE);
// Float32Array[1, 0.5, 0.5, 1]