title: Launching MacVim gives E254 cannot allocate color
body: <p>When I launch <code>vim</code> I do not have issues, but when I launch <code>MacVim</code> using <code>mvim</code> from the command line I get the following error:</p>
  
  <pre><code>$ mvim .vimrc 
  $ Error detected while processing /usr/local/Cellar/macvim/7.4-102/MacVim.app/Contents/Resources/vim/runtime/colors/macvim.vim:
  line   54:
  E254: Cannot allocate color MacSelectedTextBackgroundColor
  line  109:
  E254: Cannot allocate color MacTextColor
  E254: Cannot allocate color MacTextBackgroundColor
  </code></pre>
  
  <p>I installed MacVim using <code>homebrew</code>. Homebrew 0.9.9</p>
  
  <p>My OS is El Capitan 10.11.4</p>
  
  <p>I am setting up my new laptop so all I have installed so far: <code>xcode</code>, <code>command line tools</code>, and <code>macvim</code>.</p>
  
  <p><a href="https://stackoverflow.com/questions/5602079/macvim-color-issues-when-launching-from-command-line" title="This question">This question</a> is similar, but none of the answers work for me. I tried <code>iTerm2</code>. I originally did not have a <code>.vimrc</code> and launching it from the dock rather than the command line still throws the error. </p>