# New-HTMLTabPanelColor

Creates a new HTML Tab Panel with customizable colors.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML/1.40.0)

Stars **1,025**

Forks **114**

Open issues 

PowerShell Gallery downloads **7,576,901**

Release **v1.45.0**

Language: PowerShell Updated: 2026-11-19

Command 

**Module**

`PSWriteHTML`

Creates a new HTML Tab Panel with customizable colors.

## Syntax

```
New-HTMLTabPanelColor
[[-AnchorActivePrimaryColor] <String>]
[[-AnchorActiveSecondaryColor] <String>]
[[-AnchorDefaultPrimaryColor] <String>]
[[-AnchorDefaultSecondaryColor] <String>]
[[-AnchorDisabledPrimaryColor] <String>]
[[-AnchorDisabledSecondaryColor] <String>]
[[-BackgrounColor] <String>]
[[-BorderColor] <String>]
[[-BorderStyle] <String>]
[[-BorderWidth] <String>]
[[-LoaderBackgroundColor] <String>]
[[-LoaderBackgroundWrapperColor] <String>]
[[-LoaderColor] <String>]
[<CommonParameters>]
```

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

Parameter set: `All Parameter Sets`

## Description

This function allows you to define colors for various elements of an HTML Tab Panel, such as background color, border color, anchor colors, and loader colors.

## Examples

### Example 1

```powershell
Set-HTMLTabPanelColor -BackgrounColor '#f0f0f0' -BorderColor '#cccccc' -AnchorDefaultPrimaryColor '#333333'
```

## Parameters

**-AnchorActivePrimaryColor String optionalposition: 6**

The primary color of active anchor links.

**-AnchorActiveSecondaryColor String optionalposition: 7**

The secondary color of active anchor links.

**-AnchorDefaultPrimaryColor String optionalposition: 4**

The primary color of default anchor links.

**-AnchorDefaultSecondaryColor String optionalposition: 5**

The secondary color of default anchor links.

**-AnchorDisabledPrimaryColor String optionalposition: 8**

The primary color of disabled anchor links.

**-AnchorDisabledSecondaryColor String optionalposition: 9**

The secondary color of disabled anchor links.

**-BackgrounColor String optionalposition: 0**

The background color of the tab panel.

**-BorderColor String optionalposition: 3**

The color of the border. Default is '#eeeeee'.

**-BorderStyle String optionalposition: 2**

The style of the border. Choose from: 'solid', 'dotted', 'dashed', 'double', 'groove', 'ridge', 'inset', 'outset', 'none', 'hidden'. Default is 'solid'.

Possible values: `solid`, `dotted`, `dashed`, `double`, `groove`, `ridge`, `inset`, `outset`, `hidden`

**-BorderWidth String optionalposition: 1**

The width of the border. Default is '1px'.

**-LoaderBackgroundColor String optionalposition: 11**

The background color of the loader.

**-LoaderBackgroundWrapperColor String optionalposition: 12**

The color of the loader background wrapper.

**-LoaderColor String optionalposition: 10**

The color of the loader.

## 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).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:7BA15F7CAC8647C0141926B621899A225950B6BF7DD96D7866180F875B8EFDF2 -->
