Re: [csswg-drafts] [css-color-4] `rgba()` is legacy so does not support `none`. Right? (#7900)

> I came across [this usage data](https://almanac.httparchive.org/en/2022/css#colors) a few days ago (referenced in this [guide](https://developer.chrome.com/articles/high-definition-css-color-guide/)). 

I know (I was a reviewer that year) and it was similar in earlier years.

> I was surprised to see `rgba()` and `hsla()` more often used than `rgb()` and `hsl()`.

People needed a reason to use something other than the six-digit hex they had used since forever. The explicit-alpha functional forms `rgba()` and `hsla()` were the first thing that gave them something they could not do otherwise (eight-digit hex was made available in browsers a lot later).

HSL gets used a lot for content creation, but often in sass or some other postprocessor to manipulate the HSL values then spit out the result in hex or whatever.

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


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

Received on Tuesday, 7 February 2023 20:17:15 UTC