facelessuser / ColorHelper

Sublime plugin that provides helpful color previews and tooltips
https://facelessuser.github.io/ColorHelper/
MIT License
254 stars 30 forks source link

Allow gamut mapping method to be configurable #248

Closed facelessuser closed 1 year ago

facelessuser commented 1 year ago

Browsers don't do gamut mapping and only clip colors. It is likely that gamut mapping in browsers will be postponed to some future spec as implementers seem to want to explore alternative options before settling on the best approach. As modern color support is rolling out, the expectation to match browsers to avoid confusion may become increasingly important. Make the gamut mapping approach configurable and use clipping by default to match people's expectations.

facelessuser commented 1 year ago

@gir-bot lgtm