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

Re: Color Lightening and Darkening

From: Nicholas Shanks <contact@nickshanks.com>
Date: Thu, 28 Aug 2008 21:21:54 +0200
Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Dave Artz <david.artz@corp.aol.com>
Message-Id: <531E2C20-6F3A-4B17-A6FB-02FDF5F8F23C@nickshanks.com>
To: www-style@w3.org
On 28 Aug 2008, at 6:51 pm, Daniel Glazman wrote:

> I made that suggestion to the CSS WG the 17th of december 2002.
> The answer, by Chris Lilley 21-dec-2002, was
>
>  "making colors lighter and darker is easy in the same
>   way as laying out text is easy."
>
> And no, I never thought laying out text is easy...


what's wrong with
background‐color: rgba(100%, 100%, 100%, 50%)
that will make the background 50% transparent white, giving the effect  
of lightening the background colour of the containing block.

— Nicholas Shanks.



Received on Thursday, 28 August 2008 19:22:34 GMT

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