-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolor.h
More file actions
41 lines (36 loc) · 1.53 KB
/
Copy pathcolor.h
File metadata and controls
41 lines (36 loc) · 1.53 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* color.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: user <user@student.42tokyo.jp> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/29 15:30:00 by user #+# #+# */
/* Updated: 2023/04/29 15:30:00 by user ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef COLOR_H
# define COLOR_H
/* Foreground color */
# define F_RED "\x1b[31m"
# define F_GREEN "\x1b[32m"
# define F_YELLOW "\x1b[33m"
# define F_BLUE "\x1b[34m"
# define F_PINK "\x1b[35m"
# define F_LIGHT_BLUE "\x1b[36m"
# define F_WHITE "\x1b[37m"
# define F_RESET "\x1b[39m"
/* Background color */
# define B_RED "\x1b[41m"
# define B_GREEN "\x1b[42m"
# define B_YELLOW "\x1b[43m"
# define B_BLUE "\x1b[44m"
# define B_PINK "\x1b[45m"
# define B_LIGHT_BLUE "\x1b[46m"
# define B_GRAY "\x1b[47m"
# define B_RESET "\x1b[49m"
/* Other decorations */
# define UNDERLINE "\x1b[4m"
# define BOLD "\x1b[1m"
# define O_RESET "\x1b[0m"
#endif