< Back

Convert-HexToARGB

Wed Jan 15, 2020 7:45 am

NAME Convert-HexToARGB



SYNOPSIS

Converts Hex to ARGB values





SYNTAX

Convert-HexToARGB [-Hex_Val] <String> [<CommonParameters>]





DESCRIPTION

Converts Hex to ARGB values. Hex values are needed to apply ISE colors in script





PARAMETERS

-Hex_Val <String>

An 8 character Hex value



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Part of the ISEColorThemeCmdlets.ps1 Script by Jeff Pollock

http://Lifeinpowerhsell.blogspot.com

http://gallery.technet.microsoft.com/IS ... s-24905f9e



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$ARGB = Convert-HexToARGB $HexValue



Assigns converted hex value to ARGB variable











RELATED LINKS