[Prev][Next][Index][Thread]

Re: transparancy and RGB()




> On Aug 14, 10:34pm, Chris Josephes wrote:
> 
> > Has any thought been given to the idea of specifying varying levels of
> > transparancy?  What about the idea of specifying the transparancy level
> > directly in an RGB value, such as....
> >
> > p { background: rgb(20%,0%,0%,50%)} /* final value = transparancy level */
Wouldn't it bet better to do
    p { background: rgba(20%,0%,0%,50%) } /* fine value = alpha (opaqueness) */

In the first example it is called rgb, but for values are supplied.
Second, in computer graphics Red, Green, Blue, Alpha is much more common
that Red, Green, Blue, Transparency.

> That would be an interesting addition, and would fit well with image formats
> that support true variable transparency such as PNG and JPiG. 
Is JPiG a new format or just a mispelling of JPEG or JFIF?


Follow-Ups: References: