A PowerShell module for handling color and cursor positioning via ANSI escape sequences

Minimum PowerShell version


This is a prerelease version of Pansies.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Pansies -AllowPrerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Joel Bennett


Copyright 2018 Joel Bennett



ANSI EscapeSequences VirtualTerminal Color


New-Text Write-Host Get-ConsolePalette Set-ConsolePalette


Convert-ConsolePalette ConvertFrom-iTermColors ConvertFrom-VSCodeTheme Export-PList Export-Theme Get-Complement Get-Gradient Get-Theme Import-PList Import-Theme Show-Theme


Core Desktop


Release Notes

           1.4.0-beta: Add commands to expose the console palette features
                       New palette commands: Get-ConsolePalette, Set-ConsolePalette, Convert-ConsolePalette

                       Add color "themes" which include console palettes, PSReadLine, and ConsoleHost PrivateData
                       New theme commands: Get-Theme, Show-Theme, Import-Theme, Export-Theme
                       Also: ConverFrom-VSCodeTheme and ConvertFrom-iTermColors

                       Added Import-PList (needed for VSCode and iTermColors converters) and Export-PList
           1.3.0:      Add support for x11 color names to make the drives more useful
                       Add a RgbColor content provider that can convert colors to their escape sequences
                       Add Fg: drive and Bg: drive so you can "$Fg:Red$Bg:Blue$YourMessage"

Version History

Version Downloads Last updated
1.4.0-beta03 (current version) 305 9/8/2018
1.4.0-beta02 9 9/6/2018
1.4.0-beta01 16 9/4/2018
1.3.0-beta01 31 7/23/2018
1.2.1 12,000 10/10/2017
1.2.0 11 10/10/2017
1.0.0 1,282 5/11/2017