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

Interaction of opacity and rgba

From: REFSTRUP,JACOB (HP-Vancouver,ex1) <jacob.refstrup@hp.com>
Date: Wed, 23 Jul 2003 20:33:02 -0400 (EDT)
Message-ID: <A134E2426B46D711BB4B000347AE6E7C5915D5@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 Thursday, 24 July 2003 06:05:03 UTC

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