W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: [css3-color] #rrggbbaa annotation

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 25 Mar 2010 09:13:51 -0400
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20100325131351.GA1120@pickering.dbaron.org>
On Thursday 2010-03-25 21:42 +0900, Alberto Lepe wrote:
> I think I'm not the only person in the world that would like to see
> this implementation. Let it as an additional alternative to express
> colors with transparency, and let the people to choose the one that
> please them more. That is what all is about, isn't it? if not, then
> why hsla() annotation exits?

We have to worry about more than just the people who write CSS style
sheets; we also have to worry about the people who *read* CSS style
sheets.  Every time we add a new way to write CSS style sheets,
we're also adding something else that people who want to read CSS
style sheets have to learn.  (I'm not convinced that hsl() and
hsla() were a good idea.)

It's not necessarily obvious visually that four or eight digits of
hex after a # is different from three or six digits.  People who
haven't seen it before won't necessarily know what it means or how
to look it up.  "rgba" and "hsla" are at least terms that an author
can search for.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 25 March 2010 13:14:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:44 UTC