What colour is yours?

Home  >>  Odd  >>  What colour is yours?

What colour is yours?

On January 8, 2007, Posted by , In Odd,PowerShell, With 3 Comments

I noticed something very odd today.

My PowerShell console thinks that the default white text is actually “DarkYellow.”

doesn't look yellow to me

If I set it to “White” there is no visible difference.

What colour is your default console?

Update: I’ve found a use for “darkyellow” being white. When you run something like findstr bla *.* the filename match is brighter, and so becomes “yellow” and stands out nicely.

ConsistentlyWeirdly, in CMD.exe, color 6 (dark yellow) actually is dark yellow.

Lastly, why is the default background’s “darkmagenta” actually a somewhat de-saturated dark blue?

3 Comments so far:

  1. Richy_Rich says:

    DarkYellow, of course.

  2. watkid says:

    DarkYellow, with a hint of blinding white.

  3. Lee says:

    This is a weirdness in the .NET APIs for ConsoleColor. For example, try [Console]::ForegroundColor

    Lee