# New-ImageConsoleStoryPalette

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

 Command  

**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>]
```

 [#](#method-new-imageconsolestorypalette-string-string-string-string-string-string-string-string-string-string-string-string-string) 

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

```powershell
$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. Light and Dark use the canonical ChartForgeX tokens; shell-specific presets remain available.

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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:AF240D41DCE3A9DF9EB6D3BB061E07C7753D5EA89AB653BF78E469CC2FDBCB1D -->
