-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Labels
css-color-4Current WorkCurrent Work
Description
https://drafts.csswg.org/css-color/#specifying-lab-lch
Need to define handling for out of range numbers. Clip L, wrap H? Have also seen L up to 400, specifically for high dynamic range situations.
I propose that css-color-4 leaves high dynamic range out of scope. Addressing it requires looking at color re-rendering, which is complex and should be left to a later version when there is more industry experience to draw upon.
Given that, it is clear that L should be clamped to the 0 to 100 range, that H should be wrapped to the 0 to 360 range, that C should have negative values clamped to 0 and that a, b are unbounded.
Metadata
Metadata
Assignees
Labels
css-color-4Current WorkCurrent Work