W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] [css-color] out of range lab and lch values (#289)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Dec 2018 20:00:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-447101157-1544731226-sysbot+gh@w3.org>
> 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.

Modifying my proposal in light of discussion:

Given that, it is clear that negative values of L should be clamped to the 0, 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. 

Values of L greater than 100 will be undefined. I need to play with conversions, suspect it just results in rgb values greater than 1.0, which will be clamped.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/289#issuecomment-447101157 using your GitHub account
Received on Thursday, 13 December 2018 20:00:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC