ColorSystem Enum

Represents a color system.
public enum ColorSystem
Namespace
Spectre.Console
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • ValueType
  • Enum

Fields

No colors.
1
Legacy, 3-bit mode.
Standard, 4-bit mode.
8-bit mode.
24-bit mode.

Extension Methods

T And<ColorSystem>(Action<ColorSystem>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.