Post
From the first glance, things are looking good- way better than clipping! I'm using the apps.colorjs.io/gamut-mappin... tool to do some comparison. None is the browser's GMA, compared to the Raytrace and CSS (Binary Search) algorithms, and then naive clipping (which is what is active in browsers).
Before I call it a night, I wanted to check in on @nerdy.dev's lovely gradient.style. If you have been relying on browser's clipping to create gradients as vibrant as possible, gamut mapping will be a bit disappointing.
CSS chose algorithms that focus on maintaining color and lightness, as these are more likely to impact contrast. This means it comes at the cost of chroma, and colors may be less vibrant than if they are just clipped.
0 reposts0 likes