W3C home > Mailing lists > Public > www-style@w3.org > May 2013

RE: [css-color] Have you considered standardizing a rgba(#RRGGBB, <alpha-value>) notation?

From: François REMY <francois.remy.dev@outlook.com>
Date: Thu, 9 May 2013 22:15:11 +0200
Message-ID: <DUB404-EAS34223F7FA7813423236F48CA5A40@phx.gbl>
To: "'Tab Atkins Jr.'" <jackalmage@gmail.com>, "'Lea Verou'" <lea@w3.org>
CC: "'Sebastian Zartner'" <sebastianzartner@gmail.com>, "'Jake Archibald'" <jaffathecake@gmail.com>, 'Šime Vidas' <sime.vidas@gmail.com>, "'www-style list'" <www-style@w3.org>
± On the other hand, we could go the calc route and require a space, so that
± "adjust-alpha(red, 50%)" would set the alpha to 50%, but "adjust-alpha(red,
± + 50%)" would make the alpha 50% larger.  Seems kinda clumsy, though.

Dropping the comma is also an option. 
adjust-alpha(red + 50%) vs adjust-alpha(red, 50%)
Received on Thursday, 9 May 2013 20:15:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC