This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling.
The project supports 24-bit high-color RGB mapping for precise color rendering in compatible terminal emulators. It enables the creation of colorized text fragments that can be embedded into larger blocks of text or applied as global styles that persist across subsequent output streams.
The library covers broad terminal styling capabilities, including the application of visual attributes such as bold, underline, italic, and blinking text. It includes a system for redirecting formatted output to custom streams and provides logic to toggle color visibility based on environment variables and terminal detection.