This repository was archived by the owner on Dec 21, 2021. It is now read-only.
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
Please consider transpiling to color(display-p3) when available #7
Closed
Description
Right now, lab()
and lch()
are converted to rgb()
colors, which per-spec is restricted to the sRGB gamut. Safari supports the color(display-p3 r g b)
notation from CSS Color 4, which can access the entire P3 gamut. Please consider transpiling to both and using the cascade (or @supports
) to utilize the one the browser supports. You can find conversion math in https://css.land/lch
Metadata
Metadata
Assignees
Labels
No labels