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

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name Pansies -RequiredVersion 1.3.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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


(c) 2017 Joel Bennett. All rights reserved.

Package Details



ANSI EscapeSequences VirtualTerminal Color


New-Text Write-Host


Get-Complement Get-Gradient


Core Desktop


This module has no dependencies.

Release Notes

       1.3.1: Add support for x11 color names to make the drives more useful
       1.3.0: 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"
       1.2.2: Use full namespace + class name for RgbColor
       1.2.1: Fix cmdlet export so New-Text and Write-Host show back up
              Make EXTERNALHELP work for functions
              Provide help for Get-Complement
       1.2.0: Better support for using ConsoleColors
              Added Get-Complement to calculate the HSL complement or contrasting colors
              Fixed ConsolePalette so it reads the current console colors when possible
       1.1.0: Support for serialization by the Configuration module
              Fix output of "bright" color object in ConEmu (workaround ConEmu bug)
       1.0.0: Pre-release version with support for RGB colors


Version History

Version Downloads Last updated
2.6.0 5,705 8/18/2022
2.5.0 8 8/18/2022
2.4.0 265 8/11/2022
2.4.0-serial... 12 7/18/2022
2.3.1 8,989 8/28/2021
2.3.0 1,080 7/19/2021
2.3.0-emoji0002 7 7/19/2021
2.1.1 4,852 1/20/2021
2.1.0 1,969 10/3/2020
2.0.0 3,136 5/8/2020
1.4.0-beta03 390 9/8/2018
1.4.0-beta02 17 9/6/2018
1.4.0-beta01 49 9/4/2018
1.3.0 (current version) 755 4/13/2020
1.3.0-beta01 39 7/23/2018
1.2.1 14,281 10/10/2017
1.2.0 20 10/10/2017
1.0.0 1,293 5/11/2017
Show less