Re: [css3-color] #rrggbbaa annotation

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.

</Daniel>

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