Skip to content

Saka1r/libcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libcolor

A small and simple library for writing colored text in Unix/Windows Bash.

USE

Example code:

#include "color.h"

int main(void){
    color_printf("Error\n", RED);

    color_printf("Yes, configure upload!\n", GREEN);

    color_printf("40%__[#########       ]\n", BLACK);
    color_printf("100%_[################]\n", BLACK);
    return 0;
}

Support colors:

|BLACK | |RED | |GREEN | |YELLOW | |BLUE | |MAGENTA| |CYAN | |WHITE |

About

A small and simple library for writing colored text in Unix/Windows Bash.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages