# Why does powershell call the color sapphire, darkmagenta?

**URL:** <https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747>\
**Category:** PowerShell Help\
**Created:** [November 21, 2017, 1:10pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747 "2017-11-21T13:10:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![js2010](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@js2010](https://forums.powershell.org/u/js2010)\
**Post date:** [November 21, 2017, 1:10pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/1 "2017-11-21T13:10:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pradeeparoratx](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@pradeeparoratx](https://forums.powershell.org/u/pradeeparoratx)\
**Post date:** [November 21, 2017, 1:16pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/2 "2017-11-21T13:16:33Z")

</div>

Comes from .Net: [https://msdn.microsoft.com/en-us/library/system.windows.media.colors(v=vs.110).aspx](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.

---

<div class="post-metadata">

**Author:** ![js2010](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@js2010](https://forums.powershell.org/u/js2010)\
**Post date:** [November 21, 2017, 1:20pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/3 "2017-11-21T13:20:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pradeeparoratx](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@pradeeparoratx](https://forums.powershell.org/u/pradeeparoratx)\
**Post date:** [November 21, 2017, 2:10pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/4 "2017-11-21T14:10:12Z")

</div>

You could use Color Tool: [Release Color Tool Initial Release · microsoft/terminal · GitHub](https://github.com/Microsoft/console/releases/tag/1708.14008)  
I set it to OneHalflights, reasonably OK now.

---

<div class="post-metadata">

**Author:** ![js2010](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@js2010](https://forums.powershell.org/u/js2010)\
**Post date:** [November 21, 2017, 2:16pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/5 "2017-11-21T14:16:28Z")

</div>

It doesn’t seem to run.

---

<div class="post-metadata">

**Author:** ![pradeeparoratx](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@pradeeparoratx](https://forums.powershell.org/u/pradeeparoratx)\
**Post date:** [November 22, 2017, 8:57am UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/6 "2017-11-22T08:57:25Z")

</div>

You run it from powershell prompt, not as a standalone. It will show command-line options you can use.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:37pm UTC](https://forums.powershell.org/t/why-does-powershell-call-the-color-sapphire-darkmagenta/9747/7 "2024-05-16T20:37:09Z")

</div>


