oddbird / oddbird/oddcontrast

I want a better way to handle "color out of gamut" situations

Open
#102 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. when in oklch, show the hsl value above 100% saturation or lightness instead of stopping at 100%
  2. Can we show any useful gamut boundaries on the sliders themselves (see eg the chrome dev tools)?
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.