Imagine we have two ARGB colors c1 and c2.
Is there any difference between 50% (alpha) c1 on background c2, vs 50% c2 on background c1?
Using the formula out = alpha * new + (1 - alpha) * old
(from another thread), both would have the same result:
50% blue on 100% red = 0.5 * blue + (1 - 0.5) red = 0.5 * blue + 0.5 red
100% red on 50% blue = 0.5 * red + (1 - 0.5) blue = 0.5 * red + 0.5 blue
thus, 50% blue on 100% red = 100% red on 50% blue
However, Photoshop CS5 claims that "50% red on 100% blue" is #80007f
and "50% blue on 100% red" is #7f0080
.
Thus, I'm wondering is the above algorithm just for simple real-life approximations?
Is there another formula that gives us truer results? (Since Adobe is quite up-there in terms of graphics, I would think it quite unlikely that they have made such a simple rounding off error)