How to invert all colours?

I’ve been working on this game and I want for when the player wins the game for the entire screen to invert all its colours just for a few frames before reverting to how it was before.
How would I be able to invert all the colours? I’ve never used shaders before so if someone could explain to me how to do this or send me a link to learn how.

I haven’t tried it but you should be able to do this with the color grading post-processing pass. Just provide a lookup texture with inverted colors.

https://docs.unity3d.com/Packages/com.unity.postprocessing@2.2/manual/Color-Grading.html

Thank you, I will try this soon