Project

PSWriteHTML

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

Stars 1,019
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.41.0
Language: PowerShell Updated: 2026-10-03
Command

New-HTMLTabPanelColor

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>]
#
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

Authored help example

EXAMPLE 1

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.