<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Color interpolation for colors with alpha incorrect (gradients)"
   href="https://bugs.webkit.org/show_bug.cgi?id=150940#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Color interpolation for colors with alpha incorrect (gradients)"
   href="https://bugs.webkit.org/show_bug.cgi?id=150940">bug 150940</a>
              from <span class="vcard"><a class="email" href="mailto:christian.schnorr&#64;me.com" title="Christian Schnorr &lt;christian.schnorr&#64;me.com&gt;"> <span class="fn">Christian Schnorr</span></a>
</span></b>
        <pre><span class="quote">&gt; &gt; Mh, I'm a little confused now as I'm not quite familiar with this
&gt; &gt; terminology. Is interpolation in premultiplied RGBA what we are seeing now
&gt; &gt; or what would be the correct thing to do?
&gt; 
&gt; That's what you're seeing now. Transparent red in premultiplied color just
&gt; becomes transparent, so any time you interpolate from it you end up with
&gt; grayish intermediate values.</span >

Sorry if this is really obvious and I am missing something, but that makes only little sense to me.

I am currently seeing this behavior in Safari:
[opaque black (0,0,0,1)] =&gt; [semitransparent dark red (128,0,0,0.5)] =&gt; [transparent red (255,0,0,0)] (all components interpolated linearly)

However, I think it should look like this: (and it does in Firefox)
[opaque black (0,0,0,1)] =&gt; [semitransparent black (0,0,0,0.5)] =&gt; [transparent black (0,0,0,0)] (color components weighted with alpha)

Your description (&quot;so any time you interpolate from it you end up with grayish intermediate values&quot;) sounds like the latter is what you call interpolation in premultiplied RGBA, however you are also stating that what I am currently seeing is interpolation in premultiplied RGBA...

Could you please clear this up? Which of the two examples is interpolated in premultiplied RGBA? And how is the other method called?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>