2 opposite opacity values dont produce opaque color

纵然是瞬间 提交于 2019-12-06 05:16:56

If two elements with opacity 1-a and 1-b are stacked on top of each other, their combined opacity will be 1-a*b, so there's no such thing as "opposite opacity values". If you want two elements combined to be fully opaque, then one of them has to be fully opaque itself.

This mimics the real world as well: when you stack two dark foils that each absorbs 50% of light passing through, their combined opacity is 75%, not 100%. Three foils - 87.5% and so on.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!