CRS Features

Everything you need to create beautiful and informative console output.

Full Color Control

Utilize 24-bit RGB colors to make your output stand out. Specify foreground and background colors using simple HEX values.

  • setTextColor(hex) – Sets the color of the text.
  • setBackgroundColor(hex) – Sets the color of the background.
  • resetColors() – Instantly resets colors to the terminal default.

Advanced Text Formatting

Go beyond simple text. Apply various formatting options to emphasize parts of your output.

  • Bold, Italic, and Underline for emphasis.
  • Strikethrough for marking text as obsolete.
  • Reverse to swap foreground and background colors.

Header-Only & Lightweight

No complex build steps or dependencies. Just include crs.h and you're ready to go. It's designed to be simple and efficient.

Cross-Platform Compatibility

Works seamlessly on modern terminals that support ANSI escape codes, including Windows Terminal, macOS Terminal, and most Linux distributions.