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

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).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Friday, 18 May 2012 00:50:03 UTC