Multi-coloured shadows on a transparent background?

Hi there,

I have a render setup to cast shadows onto a transparent bkg to save as a transparent png.

Problem is the shadow is just one colour based off my nodes below (I’ve tried two methods, thus the red line)…


and this is the result…


whereas the shadows cast from the HDRI are nice and look like this…


is there a way I can have those shadow colours retained and still on a transparent background?

Thanks in advance,

Hmm this forum background kind of hides the shadow so here’s the result on a white background, ie very dark, one tone shadows…


Ended up going with this tutorial, even though it doesn’t give me a transparent background, if anyone can help me do that following this tutorial that’d be great…