- From: Mikko Rantalainen <mira@st.jyu.fi>
- Date: Thu, 09 Sep 2004 16:56:20 +0300
- CC: www-style@w3.org
Ian Hickson wrote: > On Thu, 2 Sep 2004, Brian Hunger wrote: >>alpha! > > http://www.w3.org/TR/css3-color/#rgba-color > Already supported by Safari. Why not support #1234 and #12345678 formats too? The RGB color syntax already supports #123 and #123456 <URL:http://www.w3.org/TR/css3-color/#rgb-color>. A new syntax with 4 or 8 digits wouldn't collide with the old mechanism, instead it would be a logical extension. For example, #7777 would be 50% transparent 50% grey, #f004 would be ~25% opaque red etc. The short forms would be expanded just like RGB values: double the digits. The above examples would be equal to #77777777 and #ff000044 or rgba(127,127,127,127) and rgba(255,0,0,68) -- Mikko
Received on Thursday, 9 September 2004 15:24:19 UTC