The current selection of 16 colors from Console Colors is not the right choice for me. I would like to use much darker variants of these for the background.
I could definitely set these using the UI and changing the RGB value there.
For example, I could choose Darkblue and select 65 for Blue in the RGB section(128 is the default). Could some one tell me how to do this programmatically.
Something like:
(Get-Host).UI.RawUI.BackgroundColor=DarkBlue
But with additional options.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…