Skip to content

Enumeration

ConsoleColor

Supported colors for creating a ConsoleStyle for ConsoleText.
enum ConsoleColor

Overview

Note

Normal and bright colors are represented here separately instead of as a flag on ConsoleStyle basically because “that’s how ANSI colors work”. It’s a little conceptually weird, but so are terminal control codes.

Topics

Enumeration Cases

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Terminal