I'm new to OSX and have a copy of OSX Yosemite.

I really like iBooks and Preview, but I need a night theme or the option to invert colors as in Linux with Gnome's Document Viewer.

I'm aware that I can globally invert colors through accessibility options, but my goal is to Alt+Tab a book and be able to write code. Global invert colors would mess up my text editor color scheme, terminal colors and many more.

So, does anyone know another way to achieve this inverted color effect for PDF viewing? I'm open to using a different PDF reader if it has the option to invert colors or any other method that allows me to invert colors only for Preview/iBooks.

  • You invert the file and use any viewer; this was written for GNU/Linux but may work on OSX.
    – Raphael
    May 6, 2015 at 10:52
  • @Raphael Thanks! Sounds like a good idea and doable if it's Ruby. May 6, 2015 at 20:00
  • Good luck! Oh, I notice I miswrote there, it's actually a bash script. :/ It would probably be cleaner and easier to adapt if I had used Ruby. Oh well.
    – Raphael
    May 7, 2015 at 7:21

1 Answer 1


Check out here: system preferences > keyboard section > shortcuts

There is a list of shortcuts the order depends on the apps, you'll have to look for "invert colors" and activate it (check the box). Beware, they change it's name at each version of OSX, you'll probably find it under the "accessibility" subsection of shortcuts.

They don't change the shortcut, you should look for this combination: cmd + alt + ctrl + 8

Once you activate it you can bind any key combination you like, just check it is not already being used. Use this shortcut to toggle from normal to inverted.

This works in all apps, but it's quite easy to go from normal to inverted with shortcuts.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .