Drops of dye over Mrs. Lastri’s cloth in 16 blend modes: tap the cloth and the spec’s formulas work out the colour at that point step by step, a browser…
A logo that melts into a photo, duotone effects, a heading readable on any picture: all plain CSS, no image editing. But a blend easily "dies" for no visible reason: a wrapper with transform or opacity quietly isolates it.
Each mode is a per-pixel formula: B (what is behind) and S (the element)
mix-blend-mode is on but the colour does not change at all Two causes. Its wrapper makes a stacking context (transform, opacity under 1, filter, z-index on a positioned element, isolation: isolate): the element only mixes with the wrapper’s content, which is often transparent. Or what is behind it changes nothing, like multiply over white. Move the wrapper’s effect off, or put the backdrop inside the same group.isolation: isolate on the group’s wrapper: that property only makes an isolated group, with no other effect.mix-blend-mode and background-blend-mode mix-blend-mode mixes an element with what is behind it. background-blend-mode mixes the background layers inside one element (images, gradients, colour) and touches no other element. The formulas are the same: see both side by side under the code.multiply, then screen multiply makes the overlaps darker, screen lighter. Watch the white and the dark side of the cloth too.isolation: isolate The drops still mix with each other, but stop mixing with the cloth. Try transform and opacity 0.99 too: the same result.difference White text becomes the inverse of its cloth: dark over light, light over dark.