W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: Color tweaking functions

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Sat, 21 Jan 2012 23:20:49 +0100
Message-Id: <35EE42F2-84B7-455C-81A1-D8C6F22FC7A8@crissov.de>
To: www-style list <www-style@w3.org>
Pete Boere (2012-01-21 10:56):

> h-adjust( red 10% ) => rotate hue 10%
> s-adjust( hotpink -100% )  => desaturate
> l-adjust( #f00 15% ) => lighten 10%
> a-adjust( rgb(0,0,255) -10% ) => reduce opacity 10%

Ain’t that what we got ‘hsla()’ for?

That being said, I’m all for a systematic keyword-based color system … and, actually, have been for almost ten years now.
Received on Saturday, 21 January 2012 22:21:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT