CSS color function

- WD

The CSS color() function allows the browser to display colors in any color space, such as the P3 color space which can display colors outside of the default sRGB color space.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 86: Not supported
  2. 87: Not supported

Firefox

  1. 2 - 82: Not supported
  2. 83: Not supported
  3. 84 - 85: Not supported

Chrome

  1. 4 - 86: Not supported
  2. 87: Not supported
  3. 88 - 90: Not supported

Safari

  1. 3.1 - 10: Not supported
  2. 10.1 - 13.1: Supported
  3. 14: Supported
  4. TP: Supported

Opera

  1. 9 - 71: Not supported
  2. 72: Not supported

iOS Safari

  1. 3.2 - 10.2: Not supported
  2. 10.3 - 13.7: Supported
  3. 14: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 81: Not supported

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 59: Not supported

Chrome for Android

  1. 86: Not supported

Firefox for Android

  1. 82: Not supported

IE Mobile

  1. 10: Not supported
  2. 11: Not supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 11.2: Not supported
  2. 12.0: Not supported

QQ Browser

  1. 10.4: Not supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Not supported

For this function to work properly, the device screen and OS also needs to support the color space being used.

Resources:
Chromium implementation bug
Firefox implementation bug
Color generator that uses color() with the P3 color space
WebKit article on using color() with the P3 color space