Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (22 sloc) 746 Bytes



Many controls offer the ability to change colors like the font and background colors. You can specify colors in a couple of different ways thanks to the DashboardColor class.

Named Colors

You can use any of the named colors found in the .NET Color struct.

New-UDCard -BackgroundColor 'red'

HEX Colors

You can use standard HEX color specifiers.

New-UDCard -BackgroundColor "#E82C0C"

You can also include an alpha channel value.

New-UDCard -BackgroundColor "#E82C0CFA"

RGB Colors

You can also specify colors using an ARGB value.

New-UDCard -BackgroundColor 16777215
You can’t perform that action at this time.