PSStyle.ForegroundColor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains foreground colors.
public sealed class PSStyle.ForegroundColor
type PSStyle.ForegroundColor = class
Public NotInheritable Class PSStyle.ForegroundColor
- Inheritance
-
PSStyle.ForegroundColor
Constructors
PSStyle.ForegroundColor() |
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 foreground color. |
FromRgb(Byte, Byte, Byte) |
Set as RGB (Red, Green, Blue). |
FromRgb(Int32) |
The color set as RGB as a single number. |