Skip to content

Get-RandomPastelColorHex

SYNOPSIS

Gets a random pastel color in hex format.

SYNTAX

__AllParameterSets

Text Only
Get-RandomPastelColorHex

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

This cmdlet generates a random pastel color in hex format. The color is represented as a six-digit hexadecimal string, prefixed with a hash symbol (#). This can be useful for creating random pastel colors for diagrams or other visual elements.

EXAMPLES

Example 1

PowerShell
Get-RandomPastelColorHex

#B2C8DF

This command generates and returns a random pastel color in hex format.

PARAMETERS

INPUTS

OUTPUTS

System.Object

A string representing a random pastel color in hex format (e.g., #D1E2F3).

NOTES

This cmdlet is useful for generating random pastel colors for diagrams or other visual elements.

Diagrammer.Core