다음을 통해 공유


PSStyle.BackgroundColor Class

Definition

Contains background colors.

public sealed class PSStyle.BackgroundColor
type PSStyle.BackgroundColor = class
Public NotInheritable Class PSStyle.BackgroundColor
Inheritance
PSStyle.BackgroundColor

Constructors

PSStyle.BackgroundColor()

Properties

Black

Gets the color black.

Blue

Gets the color blue.

BrightBlack

Gets the color bright black.

BrightBlue

Gets the color bright blue.

BrightCyan

Gets the color bright cyan.

BrightGreen

Gets the color bright green.

BrightMagenta

Gets the color bright magenta.

BrightRed

Gets the color bright red.

BrightWhite

Gets the color bright white.

BrightYellow

Gets the color bright yellow.

Cyan

Gets the color cyan.

Green

Gets the color green.

Magenta

Gets the color magenta.

Red

Gets the color red.

White

Gets the color white.

Yellow

Gets the color yellow.

Methods

FromConsoleColor(ConsoleColor)

Return the VT escape sequence for a background color.

FromRgb(Byte, Byte, Byte)

The color set as RGB (Red, Green, Blue).

FromRgb(Int32)

The color set as RGB as a single number.

Applies to