PowerShell improves on the (frankly) fugly Windows Console colour scheme by assigning a bluish value to one of its 16 console colours ( - the one known as DarkMagenta for some reason - ), and uses this as the default screen background.
I want to programmatically change each of the 16 colours to a custom colour scheme. In my PowerShell profile, for example.
I've found explanations on how to change which one of the ConsoleHost's 16 colours gets assigned to different kinds of text, but what I want is to actually change each of the ConsoleHost's 16 colours to a different hex value. (For myself only, not for other users, or other consoles, such as cmd.exe.)
Of course this can be done by right-clicking the menu bar and manually adjusting the "Properties" or "Default" settings, but this gets very quickly tiring. And I cannot locate where these settings get persisted.
(I have already searched the registry and C:\Users\<current_user>\AppData, and found nothing, except for the ColorTable## properties under HKCU:\Console, whose scope is obviously broader than the PowerShell console settings.)
If anyone can help, it would be greatly appreciated.