Bug 1824402 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

color 4 function (e.g. `oklch` can represent colors that some monitors can't handle (rec2020, p3)
in such case, we should add some visual information (next) to the color swatch to indicate it to the user

We should be able to use `color-gamut` media query to check this https://developer.mozilla.org/en-US/docs/Web/CSS/@media/color-gamut

We might have a simple tooltip on hover indicating the fallback color that is used

We should also handle cases where the color can't be represented anywhere (e.g. `oklch(42.67% 0.363 89.47)`)
color 4 function (e.g. `oklch`) can represent colors that some monitors can't handle (rec2020, p3)
in such case, we should add some visual information (next) to the color swatch to indicate it to the user

We should be able to use `color-gamut` media query to check this https://developer.mozilla.org/en-US/docs/Web/CSS/@media/color-gamut

We might have a simple tooltip on hover indicating the fallback color that is used

We should also handle cases where the color can't be represented anywhere (e.g. `oklch(42.67% 0.363 89.47)`)

Back to Bug 1824402 Comment 0