-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolor.hpp
More file actions
42 lines (40 loc) · 820 Bytes
/
color.hpp
File metadata and controls
42 lines (40 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef __COLOR__H__
#define __COLOR__H__
#include <stdio.h>
/**
* @brief Colloring the text in red color
* just for fun :)
* @return none.
*/
#define RED printf("\033[1;31m")
/**
* @brief Colloring the text in yellow color
* just for fun :)
* @return none.
*/
#define YELLOW printf("\033[1;33m")
/**
* @brief Colloring the text in blue color
* just for fun :)
* @return none.
*/
#define BLUE printf("\033[0;34m")
/**
* @brief Colloring the text in green color
* just for fun :)
* @return none.
*/
#define GREEN printf("\033[0;32m")
/**
* @brief Colloring the text in cyan color
* just for fun :)
* @return none.
*/
#define CYAN printf("\033[1;36m")
/**
* @brief Reseting the text color back to default
* just for fun :)
* @return none.
*/
#define RESET printf("\033[0m")
#endif //!__COLOR__H__