Skip to content

docs: clarify Lab and Lch round trips - #400

Open
xianjianlf2 wants to merge 1 commit into
gka:mainfrom
xianjianlf2:docs/color-round-trip
Open

docs: clarify Lab and Lch round trips#400
xianjianlf2 wants to merge 1 commit into
gka:mainfrom
xianjianlf2:docs/color-round-trip

Conversation

@xianjianlf2

Copy link
Copy Markdown

Fixes #295

Summary

  • document that Lab/Lch round trips should keep the same Lab white point
  • call out Chroma.js default D65 white point and D50 differences in other tools
  • point users to chroma.setLabWhitePoint(...) when matching another conversion tool

Validation

  • git diff --check
  • Not run: test suite (docs only).

@xianjianlf2
xianjianlf2 requested a review from gka as a code owner August 1, 2026 09:03
@changeset-bot

changeset-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a43c2a9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color conversion does not make the round trip: RGB - XYZ - LAB - LCH - LAB - XYZ - RGB

1 participant