constructor({ data }) {
    super({ name: 'sRGB', data });
    const values = [
      'perceptual',
      'relative colorimetric',
      'saturation',
      'absolute colorimetric',
    ];
    const dv = new DataView(data);
    Object.defineProperty(this, 'value', {
      enumerable: true,
      get() {
        return values[dv.getUint8(0)];
      },
      set(value) {
        const index = values.indexOf(value);
        if (index === -1) throw new TypeError(`Invalid sRGB value: ${value}`);
        dv.setUint8(0, index);
      },
    });
  }
The sRGB chunk containing information about the PNG's sRGB profile.