This is the standard way to invert colors instantly in Windows 10 without installing anything. It uses the Magnifier tool.
If you want a system-wide color inversion that persists and affects window borders and text specifically: invert colors windows 10