Custom inverted cursor blending mode black & white?

Hi everyone, for my site I would like to have a custom cursor, that has this inverted effect when hovering on text and images.

I’ve been following this tutorial:

Creating the cursor is no issue, but my site is black & white (black text on white background) and the cursor, which I would like to be black, in blended mode, e.g. difference is not blending. I would like the intersection of black cursor + black text to be white.

The person in the tutorial is using colored elements. Does this generally not work for black & white? Does someone maybe know a workaround for this? Thank you!

Hi SinaBanana,

I think I know your problem and also have (maybe) the right solution - can you please send me a link so that I can take a closer look? :)

Best regards, Lukas