Baseline Widely Color types
color()
The color() function picks a color from a given color space. Wide gamut color spaces like display-p3 allow showing more vibrant and saturated colors than the standard srgb color space.
Baseline Status
Widely Available
Since 2023-05-09
First Core Launch
Safari 15
2021-09-20
Core-3 Stability
596d (1.6y)
Last: Firefox (2023-05-09)
BCD Keys Mapped
2
Group: Color types
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari | desktop | 15 | 2021-09-20 |
| Safari on iOS | mobile | 15 | 2021-09-20 |
| Chrome | desktop | 111 | 2023-03-07 |
| Chrome Android | mobile | 111 | 2023-03-07 |
| Edge | desktop | 111 | 2023-03-13 |
| Firefox | desktop | 113 | 2023-05-09 |
| Firefox for Android | mobile | 113 | 2023-05-09 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.types.color.color | CSS | 596d (1.6y) |
| css.types.color.color.mixed_type_parameters | CSS | 596d (1.6y) |