---
id: "canvas-2d-alpha"
kind: "web-feature"
canonical: "https://timetostable.com/feature/canvas-2d-alpha"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# 2D canvas opacity (`canvas-2d-alpha`)

The optional alpha parameter of a 2D canvas's getContext() method sets whether the canvas has an alpha transparency channel. If set to false, then this permits the browser to optimize compositing for an opaque canvas.

- **Group**: Canvas
- **Baseline**: Limited Availability
- **Specification**: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-alpha
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 32 | 2014-01-14 |
| Chrome Android | 32 | 2014-01-15 |
| Firefox | 30 | 2014-06-10 |
| Firefox for Android | 30 | 2014-06-10 |
| Edge | 79 | 2020-01-15 |

