How to reverse the color of your desktop

For Linux (gnome) 

sudo apt-get install xcalib 
xcalib -s 0 -invert -alter
xcalib -c #clear.. back to normal

For Others

  • Mac: Cmd+Alt+Ctrl+8
  • Windows10: 1. Hold “Win” and “+” 2. Wait 3 seconds 3. Press “ctrl” + “alt” + “i”
  • Windows 10,8,7: Settings->EaseOfAccess->Magnifier->gear icon->color inversion
  • Linux KDE - System Settings->Desktop effects->Invert (entire screen or individual windows)
  • Linux Compiz - CompizConfig Settings Manager->Negative. (entire screen or individual windows)