MDN self-hosted library · e01.org

WebGLRenderingContext: blendColor() method

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
gl.blendColor(0, 0.5, 1, 1);
js
gl.getParameter(gl.BLEND_COLOR);
// Float32Array[0, 0.5, 1, 1]