W3C home > Mailing lists > Public > www-style@w3.org > July 2003

CSS3 Color: Interaction of opacity and rgba

From: REFSTRUP,JACOB (HP-Vancouver,ex1) <jacob.refstrup@hp.com>
Date: Wed, 23 Jul 2003 20:44:30 -0400
Message-ID: <A134E2426B46D711BB4B000347AE6E7C5915D8@xvan02.vcd.hp.com>
To: "www-style (www-style@w3.org)" <www-style@w3.org>

I had a question around opacity and rgba and their interaction based on the
CSS3 Color module. Suppose the following style sheet:

span { 
  color: rgba(100%,0,0,0.5);
  opacity: 0.1

Does both "alpha" values apply? I.e. would the text inside a span render
with an effective opacity of 0.05 onto its parents element?

- Jacob
Received on Wednesday, 23 July 2003 20:44:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:08 UTC