ColorSystemSupport Enum

Determines what color system should be used.
public enum ColorSystemSupport
Namespace
Spectre.Console
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • ValueType
  • Enum

Fields

-1
Try to detect the color system.
No colors.
1
Legacy, 3-bit mode.
Standard, 4-bit mode.
8-bit mode.
24-bit mode.

Extension Methods

T And<ColorSystemSupport>(Action<ColorSystemSupport>)
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.