displayP3 property

Gamut displayP3
final

Display P3 gamut.

Uses the sRGB transfer function but with wider P3 primaries and D65 white point. This is the gamut used by Apple displays, modern Android, and CSS color(display-p3 ...).

Implementation

static final displayP3 = Gamut.fromPrimaries(
  name: 'Display P3',
  rgbToXyz: const [
    [0.4865709486, 0.2656676932, 0.1982172852],
    [0.2289745641, 0.6917385218, 0.0792869141],
    [0.0000000000, 0.0451133819, 1.0439443689],
  ],
  // Display P3 uses the same sRGB transfer function
  trueDelinearize: _srgbTrueDelinearize,
  linearize: _srgbLinearize,
);