Coree.NETWindows
  • API
Show / Hide Table of Contents
  • Coree.NETWindows
    • KeyModifier
    • Keys
  • Coree.NETWindows.Classes
    • GlobalHotkey
  • Coree.NETWindows.NativeMethods
    • ConsoleManagement
    • ConsoleManagement.ConsoleColors
  • Coree.NETWindows.Services.PInvoke
    • IPInvokeService
    • PInvokeService
  • Coree.NETWindows.Utilities
    • MainContext

Enum ConsoleManagement.ConsoleColors

Represents color codes for console output. These colors can be used to set foreground and background colors of console text, allowing for a variety of text colors in console applications.

Namespace: Coree.NETWindows.NativeMethods
Assembly: Coree.NETWindows.dll
Syntax
public enum ConsoleManagement.ConsoleColors : ushort
Remarks

The colors defined in this enumeration map directly to the console's color settings, providing a simple way to enhance the visual aspect of console output. Values are based on standard console color codes, allowing for both bright and dark variations of primary colors, as well as black, gray, and white.

Fields

Name Description
Black

Black color.

Blue

Bright blue color.

Cyan

Cyan color, a blend of blue and green.

DarkBlue

Dark blue color.

DarkCyan

Dark cyan color, a blend of dark blue and dark green.

DarkGray

Dark gray color, a shade between black and gray.

DarkGreen

Dark green color.

DarkMagenta

Dark magenta color, a blend of dark red and dark blue.

DarkRed

Dark red color.

DarkYellow

Dark yellow color, a darker shade of yellow.

Gray

Gray color, a light shade of black.

Green

Bright green color.

Magenta

Magenta color, a blend of red and blue.

Red

Red color.

White

White color, the combination of all color light.

Yellow

Yellow color.

  • Edit this page
  • View Source
In this article
Back to top