Skip to content

Hex1bColorKind ​

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

The kind of ANSI color encoding.

csharp
public enum Hex1bColorKind : byte

Fields ​

Bright ​

Bright ANSI color index 0–7 (SGR 90–97 / 100–107).

Returns: Hex1bColorKind

csharp
Bright = 2

Indexed ​

256-color palette index (SGR 38;5;N / 48;5;N).

Returns: Hex1bColorKind

csharp
Indexed = 3

Rgb ​

24-bit RGB color (SGR 38;2;R;G;B).

Returns: Hex1bColorKind

csharp
Rgb = 0

Standard ​

Standard ANSI color index 0–7 (SGR 30–37 / 40–47).

Returns: Hex1bColorKind

csharp
Standard = 1

Released under the MIT License.