The PSReadLine module is responsible for setting the colors and behavior of your PowerShell command line. You can set colors for specific attributes of your PowerShell prompt by using the Set-PSReadLineOption, see Example 4: Set multiple color options.