-
Notifications
You must be signed in to change notification settings - Fork 1
/
Color.cs
96 lines (77 loc) · 2.34 KB
/
Color.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
namespace Meep.Tech.Text {
public static partial class ANSI {
/// <summary>
/// Escape codes for simple ANSI colors (4-bit).
/// </summary>
public enum Color {
/// <summary>
/// Used to reset the color to the default.
/// </summary>
Reset = ResetCode,
/// <summary>
/// ANSI terminal color: Black
/// </summary>
Black = 30,
/// <summary>
/// ANSI terminal color: Red
/// </summary>
Red = 31,
/// <summary>
/// ANSI terminal color: Green
/// </summary>
Green = 32,
/// <summary>
/// ANSI terminal color: Yellow
/// </summary>
Yellow = 33,
/// <summary>
/// ANSI terminal color: Blue
/// </summary>
Blue = 34,
/// <summary>
/// ANSI terminal color: Magenta
/// </summary>
Magenta = 35,
/// <summary>
/// ANSI terminal color: Cyan
/// </summary>
Cyan = 36,
/// <summary>
/// ANSI terminal color: White
/// </summary>
White = 37,
/// <summary>
/// ANSI terminal color: Bright Black (Gray)
/// </summary>
BrightBlack = 90,
/// <summary>
/// ANSI terminal color: Bright Red
/// </summary>
BrightRed = 91,
/// <summary>
/// ANSI terminal color: Bright Green
/// </summary>
BrightGreen = 92,
/// <summary>
/// ANSI terminal color: Bright Yellow
/// </summary>
BrightYellow = 93,
/// <summary>
/// ANSI terminal color: Bright Blue
/// </summary>
BrightBlue = 94,
/// <summary>
/// ANSI terminal color: Bright Magenta
/// </summary>
BrightMagenta = 95,
/// <summary>
/// ANSI terminal color: Bright Cyan
/// </summary>
BrightCyan = 96,
/// <summary>
/// ANSI terminal color: Bright White
/// </summary>
BrightWhite = 97,
}
}
}