aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c84
1 files changed, 58 insertions, 26 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index 40aab9b..5293703 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -1,34 +1,66 @@
#include "col.h"
-const Color colors[2][12] =
+const Color colors[2][2][12] =
{
{ // normal
- { 0xaa, 0xaa, 0xaa, 0xff }, // COL_DEF
- { 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
- { 0xcc, 0x33, 0x33, 0xff }, // COL_RED
- { 0x33, 0xcc, 0x33, 0xff }, // COL_GREEN
- { 0xcc, 0x88, 0x33, 0xff }, // COL_YELLOW
- { 0x33, 0x33, 0xcc, 0xff }, // COL_BLUE
- { 0xcc, 0x33, 0xcc, 0xff }, // COL_MAGENTA
- { 0x33, 0xcc, 0xcc, 0xff }, // COL_CYAN
- { 0xcc, 0xcc, 0xcc, 0xff }, // COL_WHITE
- { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
- { 0x22, 0x22, 0x22, 0xff }, // COL_INVERSE
- { 0xaa, 0xaa, 0xaa, 0xff }, // COL_INVERSEBG
+ { // normal
+ { 0xaa, 0xaa, 0xaa, 0xff }, // COL_DEF
+ { 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
+ { 0xcc, 0x33, 0x33, 0xff }, // COL_RED
+ { 0x33, 0xcc, 0x33, 0xff }, // COL_GREEN
+ { 0xcc, 0x88, 0x33, 0xff }, // COL_YELLOW
+ { 0x33, 0x33, 0xcc, 0xff }, // COL_BLUE
+ { 0xcc, 0x33, 0xcc, 0xff }, // COL_MAGENTA
+ { 0x33, 0xcc, 0xcc, 0xff }, // COL_CYAN
+ { 0xcc, 0xcc, 0xcc, 0xff }, // COL_WHITE
+ { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
+ { 0x22, 0x22, 0x22, 0xff }, // COL_INVERSE
+ { 0xaa, 0xaa, 0xaa, 0xff }, // COL_INVERSEBG
+ },
+ { // bright/bold
+ { 0xee, 0xee, 0xee, 0xff }, // COL_DEF
+ { 0x66, 0x66, 0x66, 0xff }, // COL_BLACK
+ { 0xff, 0x66, 0x66, 0xff }, // COL_RED
+ { 0x66, 0xff, 0x66, 0xff }, // COL_GREEN
+ { 0xff, 0xff, 0x66, 0xff }, // COL_YELLOW
+ { 0x66, 0x66, 0xff, 0xff }, // COL_BLUE
+ { 0xff, 0x66, 0xff, 0xff }, // COL_MAGENTA
+ { 0x66, 0xff, 0xff, 0xff }, // COL_CYAN
+ { 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
+ { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
+ { 0x11, 0x11, 0x11, 0xff }, // COL_INVERSE
+ { 0xee, 0xee, 0xee, 0xff }, // COL_INVERSEBG
+ },
},
- { // bright/bold
- { 0xee, 0xee, 0xee, 0xff }, // COL_DEF
- { 0x66, 0x66, 0x66, 0xff }, // COL_BLACK
- { 0xff, 0x66, 0x66, 0xff }, // COL_RED
- { 0x66, 0xff, 0x66, 0xff }, // COL_GREEN
- { 0xff, 0xff, 0x66, 0xff }, // COL_YELLOW
- { 0x66, 0x66, 0xff, 0xff }, // COL_BLUE
- { 0xff, 0x66, 0xff, 0xff }, // COL_MAGENTA
- { 0x66, 0xff, 0xff, 0xff }, // COL_CYAN
- { 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
- { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
- { 0x11, 0x11, 0x11, 0xff }, // COL_INVERSE
- { 0xee, 0xee, 0xee, 0xff }, // COL_INVERSEBG
+ { // intense
+ { // normal
+ { 0xdd, 0xdd, 0xdd, 0xff }, // COL_DEF
+ { 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
+ { 0xcc, 0x88, 0x88, 0xff }, // COL_RED
+ { 0x88, 0xcc, 0x88, 0xff }, // COL_GREEN
+ { 0xcc, 0xaa, 0x88, 0xff }, // COL_YELLOW
+ { 0x88, 0x88, 0xcc, 0xff }, // COL_BLUE
+ { 0xcc, 0x88, 0xcc, 0xff }, // COL_MAGENTA
+ { 0x88, 0xcc, 0xcc, 0xff }, // COL_CYAN
+ { 0xcc, 0xcc, 0xcc, 0xff }, // COL_WHITE
+ { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
+ { 0x11, 0x11, 0x11, 0xff }, // COL_INVERSE
+ { 0xcc, 0xcc, 0xcc, 0xff }, // COL_INVERSEBG
+ },
+ { // bright/bold
+ { 0xff, 0xff, 0xff, 0xff }, // COL_DEF
+ { 0xcc, 0xcc, 0xcc, 0xff }, // COL_BLACK
+ { 0xff, 0xcc, 0xcc, 0xff }, // COL_RED
+ { 0xcc, 0xff, 0xcc, 0xff }, // COL_GREEN
+ { 0xff, 0xff, 0xcc, 0xff }, // COL_YELLOW
+ { 0xcc, 0xcc, 0xff, 0xff }, // COL_BLUE
+ { 0xff, 0xcc, 0xff, 0xff }, // COL_MAGENTA
+ { 0xcc, 0xff, 0xff, 0xff }, // COL_CYAN
+ { 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
+ { 0x00, 0x00, 0x00, 0x00 }, // COL_INVIS
+ { 0x00, 0x00, 0x00, 0xff }, // COL_INVERSE
+ { 0xff, 0xff, 0xff, 0xff }, // COL_INVERSEBG
+ }
}
};