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

Re: [css3-transitions] colour space used for colour interpolations

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 17 May 2012 20:49:29 -0400
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20120518004929.GA13636@crum.dbaron.org>
On Friday 2012-05-18 10:43 +1000, Cameron McCormack wrote:
> In SVG, the color-interpolation property is used to control the
> colour space in which SVG animations on properties like fill, stroke
> and stop-color are performed.  Should this apply to CSS Transitions
> and Animations on properties that take colours too?  It'd be good to
> have the same interpolations available in both kinds of animation.

I think it probably should.

> (Brian mentioned to me that people also want to be able to
> interpolate in other colour spaces, like HSL or L*a*b too -- we
> could extend color-interpolation with options for that.)

Are there obvious rules for interpolating in these spaces?  It's
certainly not clear to me how to interpolate between hsl(0, 100%,
50%) and hsl(180, 100%, 50).


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 18 May 2012 00:50:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:59 UTC