W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [CSS4 color][CSS4 transition] color pre-multiplied vs non pre-multiplied was (Re: [CSSWG] Minutes TPAC Tue 2012-10-30 AM I: Abstract Directions, Transforms, Transitions)

From: Rik Cabanier <cabanier@gmail.com>
Date: Thu, 28 Feb 2013 13:01:58 -0800
Message-ID: <CAGN7qDDmBBnO0E17d+P70k+P5fy51owxbLF=BYJdXFA7FJNcXA@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Liam Quin <liam@w3.org>, "www-style@w3.org" <www-style@w3.org>
Photoshop has 2 sliders. One to control the color and the other to control
the opacity.
The opacity slider has no color. What are the colors in the other slider?
Is it all green?

On Thu, Feb 28, 2013 at 12:49 AM, Brad Kemper <brad.kemper@gmail.com> wrote:

> On Feb 27, 2013, at 8:25 AM, Rik Cabanier <cabanier@gmail.com> wrote:
>
> Special casing 'transparent' fixes that in an intuitive way. It's more
> confusing to authors that CSS gradients are different from any other type
> of gradient.
> Good luck trying to match that CSS gradient with the one in PhotoShop!
>
>>
> I'm pretty certain I'm missing your meaning. If I create a solid to
> transparent gradient in PhotoShop, I fill the shape (let's say a rectangle)
> with a solid color (let's say, green) in the rgb channel, and then put a
> black to white gradient into the alpha channel. I don't create a green to
> black gradient in the rgb channel the way safari does.
>
Received on Thursday, 28 February 2013 21:02:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT