Re: [csswg-drafts] Back-porting the mixed `<number>` and `<percentage>` color component syntaxes to CSS Color 4 (#8322)

> Can you please clarify the range to resolve `<percentage>` to `<number>` when it represents saturation/lightness in `hsl()` and `hsla()`? 0% resolves to 0 and 100% to 1?

There is some confusion in my questions because `hsl()` and `hwb()` resolve to `rgb()` and the conversion algorithm takes the percentage value, therefore the relevant question is what must be the range of `<number>` in `hsl()` and `hwb()`: [0,1] or [0,100]?

Thanks for the follow up.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8322#issuecomment-1440742076 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 22 February 2023 20:16:31 UTC