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

On 10/05/2013 6:30 AM, François REMY wrote:
> ± How about keywords?
>
> How, yes, I like things like
>
>      color(#aaa, 50% of alpha)
>      for #rgba(aa,aa,aa,50%)
>
> and
>
>     color(#aaaa,  10% more alpha, 100% more hue)
>     for the opposite color of #rgb(aa,aa,aa+10%)
>
> Maybe I'm dreaming too much ^_^

Whoa Whoa Whoa. Let's all slow down here. Let's not abuse syntax and 
something that works. Having color() as a value in a property of 
background-color or color is not necessary a good thing.

The original proposal was for setting alpha along with hexadecimal color 
notation and having that work with rbg().

If you want more or less hue, it should be relating to hsl() but in all 
honestly, what does it mean to have less hue? Hue is a particular color 
so all you can do is change the lightness or saturation of a particular hue.

Alan

-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/

Received on Friday, 10 May 2013 02:01:18 UTC