Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorC

(name suggested by an AI)

ColorC is an easy-to-use, single-header C/C++ library for printing rich text to the terminal

A screenshot of ColorC's demo program

Installation

To install ColorC, download the library's header colorc.h here And add it to your C/C++ project

Then, inside of your C/C++ file, add this code snippet:

#include "colorc.h"

And you're good to go!

Usage

The demo.c file is an demo file showing you how to use ColorC, check it out to learn ColorC

ColorC supports 8 colors for background and foreground. These colors are :

  • Black
  • Red
  • Green
  • Yellow
  • Blue
  • Magenta
  • Cyan
  • White

It also supports 7 styles (some of them are not supported everywhere though) The styles are :

  • Bold
  • Dim
  • Italic
  • Underline
  • Blink
  • Framed
  • Encircled

About

An easy-to-use, single-header C/C++ library for printing rich text to the terminal

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages