W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css] Proposal: making Shorthand Hex Colors even shorter (16 grayscale shades)

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Tue, 06 Sep 2011 01:23:42 +0400
To: www-style@w3.org
Message-Id: <1096851315257822@web24.yandex.ru>
Recently, when I (once again) was typing redundant #ccc, #666, #999, etc., I've arrived at the same idea: it would be nice to be able to use #c, #6, #9 shortcuts.

Replacing #acacac with #ac looks quite nice and reasonable too. There is nothing wrong with #ac compared with #c as well as with existing #ccc.

Such shortcuts are not more consusing than existing #ccc, #666, #999, etc.

As for similar additions to rgba (that has been mentioned in the thread), I personally almost don't care about this since I consider rgba paradigm itself just wrong and almost useless as for CSS:

instead of rgba(), it would be _much_ more useful to have background-opacity property that would control opacity of _entire_ background including background color _and_ image together. Those interested may see proposal in sibling thread I've started a moment ago:

http://lists.w3.org/Archives/Public/www-style/2011Sep/0033.html
Received on Monday, 5 September 2011 21:24:17 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:03 UTC