Welcome › Forums › General PowerShell Q&A › Why does powershell call the color sapphire, darkmagenta?
This topic contains 5 replies, has 2 voices, and was last updated by
Just a weird thing I've noticed in powershell. When you run get-psreadlineoption, it says the background is darkmagenta, but it looks more like dark blue or sapphire.
Comes from .Net: https://msdn.microsoft.com/en-us/library/system.windows.media.colors(v=vs.110).aspx
DarkMagenta Gets the system-defined color that has an ARGB value of #FF8B008B.
But the appearance is actually #012456 or rgb(1,36,86) or sapphire in the windows console or ise. I guess other settings override it.
You could use Color Tool: https://github.com/Microsoft/console/releases/tag/1708.14008
I set it to OneHalflights, reasonably OK now.
It doesn't seem to run.
You run it from powershell prompt, not as a standalone. It will show command-line options you can use.
The topic ‘Why does powershell call the color sapphire, darkmagenta?’ is closed to new replies.