Skip to content

[css-color-5] "CIE LCH" is ambiguous #13286

Closed

Description

@mm2t

While reading the CSS Color 5 spec, the term "CIE LCH" was ambiguous. This could mean CIE LCHuv based on CIE Luv, or CIE LCHab based on CIE Lab.

After digging a bit, it became understandable that what was meant is CIE LCHab.
Please clarify this in the documentation.

Activity

  1. svgeesus commented on Jan 6, 2026

    @svgeesus
    Collaborator

    CIE LCH is defined in CSS Color 4, not 5 (Color 5 adds relative color syntax to the existing definition). From 9.1. CIE Lab and LCH:

    CIE LCH has the same L axis as Lab, but uses polar coordinates C (chroma) and H (hue), making it a polar, cylindrical coordinate system. C is the geometric distance from the L axis and H is the angle from the positive a axis, towards the positive b axis.

    There is no ambiguity in this definition.

  2. mm2t commented on Jan 6, 2026

    @mm2t
    Author

    Thank you

  3. svgeesus commented on Jan 7, 2026

    @svgeesus
    Collaborator

    @mm2t

    After digging a bit, it became understandable

    You should not have to dig. I have added links from each relative color form to the absolute form, which is where all the explanation lives. CSS Color 5 just modifies the existing syntax to add relative colors, but readers should be able to find the relevant information easily.

  4. mm2t commented on Jan 8, 2026

    @mm2t
    Author

    👍 This is indeed nice; especially that specs are often read in a hunt-and-peck fashion.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-color-5Color modification

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions