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

Re: [css3-color] #rrggbbaa annotation

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 25 Mar 2010 09:24:35 +0100
Message-ID: <4BAB1DC3.2090202@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>
Le 25/03/10 06:01, Zack Weinberg a écrit :

>> I think most developers uses the HEX annotation because it is just
>> simpler, shorter, cleaner and widely used in graphical applications.
> In more detail, please?  My immediate reaction is that, far from
> being "simpler" or "cleaner", #rrggbb is already too hard to read on
> account of the absence of separators, and tacking an aa component on
> the end just makes it worse; so I personally don't think #rrggbbaa
> should be added to CSS at all.  (I'll grant you "shorter", but
> terseness must give way to readability wherever the two are in
> conflict.)

Zack, I agree with Alberto. A lot of people use the hex notation for
the reasons below:

1. if you're using an color picker or a color chart, it's easier to
    manipulate or copy/paste one token rather than three
2. a double-click on an hex token gets everything, you need click-
    extend on a rgb() notation
3. a lot of editing tools prefer the hex notation and output colors
    in that form; please note Gecko and many CSS OMs output rgb()...
4. I disagree it is hard to understand

That said, I disagree with the #rrggbbaa proposal and I think Patrick
Garies expressed exactly my opinion here.

Received on Thursday, 25 March 2010 08:25:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:33 UTC