Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

New-ImageConsoleStoryPalette

Module
ImagePlayground
Inputs
None
Outputs
ChartForgeX.Terminal.TerminalTheme

Creates a reusable terminal color palette for ImagePlayground console stories and tabs.

Syntax

New-ImageConsoleStoryPalette
[-Accent <String>]
[-Background <String>]
[-Border <String>]
[-Cursor <String>]
[-Error <String>]
[-FontFamily <String>]
[-HeaderBackground <String>]
[-Muted <String>]
[-PageBackground <String>]
[-Preset <String>]
[-Success <String>]
[-Text <String>]
[-Warning <String>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Start from a built-in palette and override only the colors that belong to the demo. Window chrome and shell dialect remain separate choices.

Examples

Create a branded Ubuntu-derived palette

$palette = New-ImageConsoleStoryPalette -Preset Ubuntu -Background '#24071B' -Accent '#FF6A2B'

Returns a ChartForgeX TerminalTheme that can be supplied through the Palette parameter.

Parameters

-Accent String optional
Prompt and command accent color in hexadecimal notation.
-Background String optional
Terminal content color in hexadecimal notation.
-Border String optional
Frame and divider color in hexadecimal notation.
-Cursor String optional
Cursor color in hexadecimal notation.
-Error String optional
Error text color in hexadecimal notation.
-FontFamily String optional
CSS font-family stack shared by every tab in the story.
-HeaderBackground String optional
Title-bar color in hexadecimal notation.
-Muted String optional
Muted text color in hexadecimal notation.
-PageBackground String optional
Outer page color in hexadecimal notation.
-Preset String optional
Built-in palette used as the customization baseline.
Possible values: Dark, PowerShell, WindowsPowerShell, Ubuntu, Campbell, Classic, Light
-Success String optional
Success text color in hexadecimal notation.
-Text String optional
Normal text color in hexadecimal notation.
-Warning String optional
Warning text color in hexadecimal notation.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.