aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/col.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-24 02:16:21 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-24 02:16:21 +0000
commita40115fb3baacb82e63b91f7114246f2d712b488 (patch)
treed346cf3fb489b2eb7ddd572841f36a46ef2107f5 /src/bin/col.c
parentsmall patch - make `xxxxyyy...xxx' quotes detected by link checker too. (diff)
downloadterminology-a40115fb3baacb82e63b91f7114246f2d712b488.tar.gz
lets try pretend to be xterm-256color and see how this works?
SVN revision: 74333
Diffstat (limited to 'src/bin/col.c')
-rw-r--r--src/bin/col.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/bin/col.c b/src/bin/col.c
index 5293703..1787f2f 100644
--- a/src/bin/col.c
+++ b/src/bin/col.c
@@ -68,21 +68,21 @@ const Color colors256[256] =
{
// basic 16 repeated
{ 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
-
- { 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
+ { 0xc0, 0x00, 0x00, 0xff }, // COL_RED
+ { 0x00, 0xc0, 0x00, 0xff }, // COL_GREEN
+ { 0xc0, 0xc0, 0x00, 0xff }, // COL_YELLOW
+ { 0x00, 0x00, 0xc0, 0xff }, // COL_BLUE
+ { 0xc0, 0x00, 0xc0, 0xff }, // COL_MAGENTA
+ { 0x00, 0xc0, 0xc0, 0xff }, // COL_CYAN
+ { 0xc0, 0xc0, 0xc0, 0xff }, // COL_WHITE
+
+ { 0x80, 0x80, 0x80, 0xff }, // COL_BLACK
+ { 0xff, 0x80, 0x80, 0xff }, // COL_RED
+ { 0x80, 0xff, 0x80, 0xff }, // COL_GREEN
+ { 0xff, 0xff, 0x80, 0xff }, // COL_YELLOW
+ { 0x80, 0x80, 0xff, 0xff }, // COL_BLUE
+ { 0xff, 0x80, 0xff, 0xff }, // COL_MAGENTA
+ { 0x80, 0xff, 0xff, 0xff }, // COL_CYAN
{ 0xff, 0xff, 0xff, 0xff }, // COL_WHITE
// pure 6x6x6 colorcube