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

On May 9, 2013, at 1:33 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

>> color(red, alpha * 75%) vs color(red, alpha 50%)
> 
> That one's intriguing, and pretty readable I think.  

The first one seems to mean that the red channel is set to 3/4 of the alpha (opacity) channel. I don't know what the second one is supposed to mean. 

If you want to set channels independently, I think it should be something like this: 

r(255); a(0.5);
or
rgba(255, *, *, 0.5)
or
r(#ff); a(#7f);
or
rgba(#ff, *, *, #7f)

Or various combinations of the above. 

Received on Thursday, 9 May 2013 21:01:09 UTC