title: Why does PowerShell display "DarkYellow" text improperly?
body: <p>I'm using the <code>Write-Host</code> cmdlet to change the color of my prompt and I noticed that the <code>DarkYellow</code> color was not displaying as any sort of yellow, but as a gray! Here's a test of all the colors</p>
  
  <pre><code>PS&gt; 0..15 | %{ Write-Host "Hello, world!" -ForegroundColor $_ }
  </code></pre>
  
  <p>I got a list of all the enum values by using a bad value</p>
  
  <pre><code>PS&gt; Write-Host "Hello, World!" -ForegroundColor foo
  </code></pre>
  
  <blockquote>
    <p>Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White</p>
  </blockquote>
  
  <p>And I realized that this list of "console colors" somehow corresponds to the settings for this console window/shortcut, right? So, <code>DarkYellow</code> would be this 7th one in and it sure looks gray.</p>
  
  <p><img src="https://i.stack.imgur.com/yu7iF.png" alt="enter image description here"></p>
  
  <p>What's the connection between <code>ForegroundColor</code>, <code>System.ConsoleColor</code>, and these console shortcut settings? Why is dark yellow displaying as gray "out of the box"? Should I change it? Will this change every console on my system or just this shortcut?</p>
  
  <p>Why are consoles so finnicky on Windows?!</p>
  
  <hr>
  
  <p>I'm on Windows 7 Pro SP1 64-bit and I'm launching the "Windows PowerShell" shortcut from the Start Menu.</p>