Created
February 25, 2019 22:59
-
-
Save jshardy/461e332bb0a17b36715a98ad68745c73 to your computer and use it in GitHub Desktop.
Linux Terminal Colors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define COLOR_RED "\x1b[31m" | |
#define COLOR_GREEN "\x1b[32m" | |
#define COLOR_YELLOW "\x1b[33m" | |
#define COLOR_BLUE "\x1b[34m" | |
#define COLOR_MAGENTA "\x1b[35m" | |
#define COLOR_CYAN "\x1b[36m" | |
#define COLOR_RESET "\x1b[0m" | |
printf(COLOR_RED "This is RED" COLOR_RESET); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment