title: E254: cannot allocate color
body: <p>I have been using a local syntax file in my local path <code>/home/user/.vim/syntax/log.vim</code> for a while.
  In my new workplace when i tried using the same syntax file,it doesn't show the intended colors and instead it gives an error</p>
  <blockquote>
  <p><strong>E254:cannot allocate color darkorange</strong></p>
  <p><strong>E254: Cannot allocate color NONE</strong></p>
  </blockquote>
  <p>I tried checking colortest code from web it works fine.
  <a href="https://i.stack.imgur.com/ygVlM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ygVlM.png" alt="when tested in vim" /></a></p>
  <p>hi comment guifg=darkorange guibg=NONE  gui=bold</p>
  <p>The same color works when i use it in <code>.vimrc</code> file.</p>
  <p>I am not supposed to change the <code>/usr/share/vim/vim*/*</code> path ,if there is any workaround so that i can change in my local path or local vimrc file would be helpful.</p>