diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2021-09-25 21:01:03 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2021-09-25 21:01:03 +0000 |
| commit | 9361e7c0723c15328d4e66747d5d1822ccb5c484 (patch) | |
| tree | 0056c1b90fe5b86f206fc942debd1c4a41a38b19 | |
| parent | config: simplify initialization of color table in config_load() (diff) | |
config: add comments to default_color_table[] about color channel values
| -rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -64,6 +64,7 @@ static const uint32_t default_color_table[256] = { 0xffffff, // 6x6x6 RGB cube + // (color channels = i ? i*40+55 : 0, where i = 0..5) cube36(0x000000), cube36(0x5f0000), cube36(0x870000), @@ -72,6 +73,7 @@ static const uint32_t default_color_table[256] = { cube36(0xff0000), // 24 shades of gray + // (color channels = i*10+8, where i = 0..23) 0x080808, 0x121212, 0x1c1c1c, 0x262626, 0x303030, 0x3a3a3a, 0x444444, 0x4e4e4e, 0x585858, 0x626262, 0x6c6c6c, 0x767676, |
