Re: [css3-color] #rrggbbaa annotation

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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 25 March 2010 13:14:20 UTC