oddbird / oddbird/oddcontrast

I want to understand when output formats are being clipped or mapped

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

Nobody has claimed this yet.

enhancement
Dominant language
Svelte
Stars
34
Forks
1
Avg merge
3h 35m
Merged PRs (30d)
8

Description

As noted in https://github.com/oddbird/oddcontrast/pull/137#pullrequestreview-1744885729 - some color formats are being clipped or mapped by ColorJS. That might change in a new release, but hex cannot represent out-of-gamut colors, so will continue to be clipped or mapped. We should find a way to convey that to users when it happens.

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

Start with the discussion in pull request 137 and trace how output formats are handled around ColorJS conversions. Determine where clipping or gamut mapping occurs, then define how users should be informed, including for out-of-gamut colors represented as hex. Done means the behavior is consistently communicated to users.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.