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

Re: [css-color-4] Renaming gray()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 23 Jul 2014 15:47:07 -0700
Message-ID: <CAAWBYDC=ZDRCnF0MxQbqqHnHZKWPam-k=tOBrOU+=Bfh18SYvw@mail.gmail.com>
To: George Weilenmann <george.weilenmann@insightsoftware.com>
Cc: Kornel LesiƄski <kornel@geekhood.net>, www-style list <www-style@w3.org>, Lea Verou <lea@verou.me>
On Wed, Jul 23, 2014 at 3:27 PM, George Weilenmann
<george.weilenmann@insightsoftware.com> wrote:
> I know I am an outside here, but as a suggestion...
> How about leaving gray() as is and adding graying(), graying implies an actionable making a distinction between the two.
> Where gray(%) resolves to the shade of gray rgb(%,%,%)
> And
> Where graying(%) acts as a blender towards gray(50%)

While it's a little less obviously named, turning a color gray is just
reducing its saturation, and so can be done via the color() function
and the saturation() adjuster, like "color(red saturation(- 20%))".

Received on Wednesday, 23 July 2014 22:47:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:44 UTC