PDF invert from white to black background and black to white font - is there an application?

Solution 1:

There is a night mode option in your default pdf viewer in ubuntu (if you are using it). Go through the file options on the top right you will find it.

In many readers, the shortcut is ctrl + i.