W3C home > Mailing lists > Public > www-style@w3.org > August 1996

Re: transparancy and RGB()

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Tue, 20 Aug 1996 11:56:14 +0200 (DST)
Message-Id: <9608201156.ZM22545@grommit.inria.fr>
To: Chris Josephes <cpj1@winternet.com>, www-style@w3.org
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 */

That would be an interesting addition, and would fit well with image formats
that support true variable transparency such as PNG and JPiG. Once could do
interesting things with this and negative margins. Transparency would be more
useful on foreground properties, but certainly it would be nice to set a tint
of a particular color by having the background of an element in the
full-strength color with say 90% transparency.

One would probably need a default value of 0% transparency for backwards
compatibility.

> Also, in the latest version of the CSS spec, it dosn't show the
> possibility of specifying RBG values in hexadecimal anymore?  Was this an
> accidental ommision,

Yep ;-) the quickness of the hand deceives the text editor. Several people
spotted this, and it has now been fixed. Thanks - the more folk that read and
comment on the spec, the better it gets.

-- 
Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 93 65 79 87            06902 Sophia Antipolis Cedex, France
Received on Tuesday, 20 August 1996 05:59:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:45 GMT