Re: [csswg-drafts] [css-color-4] Disagreements over gamut mapping (#7610)

The color-gamut MQ distinguishes between three broad cases: normal sRGB-ish, wide (like most of  P3 or Adobe RGB) and ultrawide (like most of 2020).

Unlike the proposed extensions to handle HDR canvas, the actual capabilities (such as exact primary chromaticities) of the display are not exposed.

Note that the lack of automatic gamut mapping makes animation harder (several values in different color spaces need to be animated together).

Also, your example doesn't do any gamut mapping, It exposes author pre-calculated gamut mapped colors, which may or may not be displayable on a given device within the broad class of devices matched by the MQ.

Further, this example does not extend well when colors are generated by calculations (such as `color-mix()` or gradients) rather than being explicitly specified.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7610#issuecomment-1221327667 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 20 August 2022 14:45:53 UTC