- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Sun, 10 Jul 2016 10:20:52 +0200
- To: "www-style@w3.org" <www-style@w3.org>
- Cc: Ryan Williams <email@ryanwilliams.co.uk>
1½ years ago, Tab Atkins Jr. <jackalmage@gmail.com>: > On Wed, Jan 14, 2015 at 11:59 PM, Ryan Williams >> >> 1. #C expands to #CCCCCC >> 2. #C3 expands to #C3C3C3 >> 3. #CCC expands to #CCCCCC > > As Simon says, the WG is generally of the opinion that expanding > 2-digit hex in the way you suggest is confusing, because it expands in > a different way than 3/4 digit hex does. The single-digit hex doesn't > suffer from this problem, but it's also less useful, only allowing you > to specify 16 shades of gray, and save two characters doing so. Exactly. If anything, `#C3` should expand to `#CCCCCC33`, i.e. a gray with alpha.
Received on Monday, 11 July 2016 09:53:33 UTC