Skip to content

Instantly share code, notes, and snippets.

@montyanderson
Created March 28, 2015 23:26
Show Gist options
  • Save montyanderson/920141d91ba1aa0a1f8e to your computer and use it in GitHub Desktop.
Save montyanderson/920141d91ba1aa0a1f8e to your computer and use it in GitHub Desktop.
A C include file for all the terminal colors!
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
#define KBLU "\x1B[34m"
#define KMAG "\x1B[35m"
#define KCYN "\x1B[36m"
#define KWHT "\x1B[37m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment