Re: [csswg-drafts] [css-color] Are `rgba()` and `hsla()` functions meant to be deprecated? (#10886)

While they work and mean exactly the same, I'd still say authors should be encouraged to use `rgb()` and `hsl()` over `rgba()` and `hsla()`, because that's more consistent with newer color functions which don't have `...a()` aliases.

Maybe `rgba()`, `hsla()`, and the legacy syntaxes should officially be labeled as "deprecated" in the spec. to discourage their usage (while they will have to be supported forever for web compat, of course).

Sebastian

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


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

Received on Friday, 18 October 2024 19:16:57 UTC