Re: +AFs-CSS3-Color+AF0-: RGBA as hexadecimal notation

[What's going on with your title? Is that some weird encoding for brackets?]

On Thu, Mar 20, 2014 at 7:20 AM, Axel Dahmen <brille1@hotmail.com> wrote:
> like many others, I prefer to write color codes in hexadecimal notation,
> because the rgb() notation requires much more typing.
>
> For the CSS Color Module Level 3, wouldn't it be feasible, thus, to allow
> for giving an approximation to all possible RGBA values by means of
> hexadecimal notation, with "#***0" (or #******00) being equal to
> "rgba(*,*,*,0)" and "#***f" (or "#******ff") being equal to "rgba(*,*,*,1)"?
>
> So ...
>
> "#***0"  ===  rgba(*, *, *, 0)
> "#******80"  ===  rgba(*, *, *, .5)
> "#***f"  ===  rgba(*, *, *, 1)

Already specified: http://dev.w3.org/csswg/css-color/#hex-notation

~TJ

Received on Thursday, 20 March 2014 18:16:01 UTC