I want a better way to handle "color out of gamut" situations
Open
Nobody has claimed this yet.
enhancement
needs research
- Dominant language
- Svelte
- Stars
- 34
- Forks
- 1
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 8
Description
examples:
- when in oklch, show the hsl value above 100% saturation or lightness instead of stopping at 100%
- Can we show any useful gamut boundaries on the sliders themselves (see eg the chrome dev tools)?
- Is there a way to have an option to "jump to" the closest in-gamut color, with the color.js gamut mapping function?
This issue is related to https://github.com/oddbird/oddcontrast/issues/94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are mentioned. Start by reviewing this issue and related issue #94, then inspect the existing color controls and gamut handling before deciding whether the scope includes gamut values, slider boundaries, and closest in-gamut mapping. Done should be defined for each requested behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100