aboutsummaryrefslogtreecommitdiff
path: root/colour.h
blob: 6ae1438612c35c9d9b137af94c9e8a196328ed09 (plain)
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
#ifndef SAND_LEEK_COLOUR_H
#define SAND_LEEK_COLOUR_H

#define ANSI_ESC        "\x1b["
#define COLOUR_BLACK    ANSI_ESC"30m"
#define COLOUR_RED      ANSI_ESC"31m"
#define COLOUR_GREEN    ANSI_ESC"32m"
#define COLOUR_YELLOW   ANSI_ESC"33m"
#define COLOUR_BLUE     ANSI_ESC"34m"
#define COLOUR_MAGENTA  ANSI_ESC"35m"
#define COLOUR_CYAN     ANSI_ESC"36m"
#define COLOUR_WHITE    ANSI_ESC"37m"

#define COLOUR_BBLACK   ANSI_ESC"1;30m"
#define COLOUR_BRED     ANSI_ESC"1;31m"
#define COLOUR_BGREEN   ANSI_ESC"1;32m"
#define COLOUR_BYELLOW  ANSI_ESC"1;33m"
#define COLOUR_BBLUE    ANSI_ESC"1;34m"
#define COLOUR_BMAGENTA ANSI_ESC"1;35m"
#define COLOUR_BCYAN    ANSI_ESC"1;36m"
#define COLOUR_BWHITE   ANSI_ESC"1;37m"

#define COLOUR_BOLD     ANSI_ESC"1m"
#define COLOUR_BOLD_OFF ANSI_ESC"22m"

#define COLOUR_OFF      ANSI_ESC"39m"
#define COLOUR_ALL_OFF  ANSI_ESC"0m"

#define COLOUR_ERASE    ANSI_ESC"2K"

#endif /* #ifndef SAND_LEEK_COLOUR_H */