summaryrefslogtreecommitdiff
path: root/color_test.c
diff options
context:
space:
mode:
authorloshprung <lshprung@scu.edu>2019-12-22 11:50:33 -0800
committerloshprung <lshprung@scu.edu>2019-12-22 11:50:33 -0800
commit336e2932109018fa679c92485bc9d236f7c6b4c1 (patch)
tree28a076f3b9d57b8ff817efcd7ac0101ec0ae4d78 /color_test.c
First Commit
Diffstat (limited to 'color_test.c')
-rw-r--r--color_test.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/color_test.c b/color_test.c
new file mode 100644
index 0000000..60b0b93
--- /dev/null
+++ b/color_test.c
@@ -0,0 +1,17 @@
+#include <stdio.h>
+
+int main(){
+ printf("\033[0;31m");
+ printf("Red\n");
+ printf("\033[1;31m");
+ printf("Bold Red\n");
+ printf("\033[0;32m");
+ printf("Green\n");
+ printf("\033[1;32m");
+ printf("Bold Green\n");
+ printf("\033[0;30m");
+ printf("\033[47m");
+ printf("???\n");
+
+ return 0;
+}