summaryrefslogtreecommitdiff
path: root/xterm256lut.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-11-19 14:24:04 +0100
committerjaseg <git@jaseg.de>2022-11-19 14:24:04 +0100
commit8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f (patch)
tree335f1ff7ace350cc66f1ab89acc661b68011fde8 /xterm256lut.h
parent6db5a0fa5005710ff1a71a721b3d625e61c37e78 (diff)
downloadlolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.tar.gz
lolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.tar.bz2
lolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.zip
Add --gradient option, allow specification of custom gradients.
Closes #47
Diffstat (limited to 'xterm256lut.h')
-rw-r--r--xterm256lut.h243
1 files changed, 243 insertions, 0 deletions
diff --git a/xterm256lut.h b/xterm256lut.h
new file mode 100644
index 0000000..ea8c515
--- /dev/null
+++ b/xterm256lut.h
@@ -0,0 +1,243 @@
+/* GENERATED HEADER FILE DO NOT EDIT */
+union rgb_c xterm256lut[256-16] = {
+ {{0x00, 0x00, 0x00}},
+ {{0x5f, 0x00, 0x00}},
+ {{0x87, 0x00, 0x00}},
+ {{0xaf, 0x00, 0x00}},
+ {{0xd7, 0x00, 0x00}},
+ {{0xff, 0x00, 0x00}},
+ {{0x00, 0x5f, 0x00}},
+ {{0x5f, 0x5f, 0x00}},
+ {{0x87, 0x5f, 0x00}},
+ {{0xaf, 0x5f, 0x00}},
+ {{0xd7, 0x5f, 0x00}},
+ {{0xff, 0x5f, 0x00}},
+ {{0x00, 0x87, 0x00}},
+ {{0x5f, 0x87, 0x00}},
+ {{0x87, 0x87, 0x00}},
+ {{0xaf, 0x87, 0x00}},
+ {{0xd7, 0x87, 0x00}},
+ {{0xff, 0x87, 0x00}},
+ {{0x00, 0xaf, 0x00}},
+ {{0x5f, 0xaf, 0x00}},
+ {{0x87, 0xaf, 0x00}},
+ {{0xaf, 0xaf, 0x00}},
+ {{0xd7, 0xaf, 0x00}},
+ {{0xff, 0xaf, 0x00}},
+ {{0x00, 0xd7, 0x00}},
+ {{0x5f, 0xd7, 0x00}},
+ {{0x87, 0xd7, 0x00}},
+ {{0xaf, 0xd7, 0x00}},
+ {{0xd7, 0xd7, 0x00}},
+ {{0xff, 0xd7, 0x00}},
+ {{0x00, 0xff, 0x00}},
+ {{0x5f, 0xff, 0x00}},
+ {{0x87, 0xff, 0x00}},
+ {{0xaf, 0xff, 0x00}},
+ {{0xd7, 0xff, 0x00}},
+ {{0xff, 0xff, 0x00}},
+ {{0x00, 0x00, 0x5f}},
+ {{0x5f, 0x00, 0x5f}},
+ {{0x87, 0x00, 0x5f}},
+ {{0xaf, 0x00, 0x5f}},
+ {{0xd7, 0x00, 0x5f}},
+ {{0xff, 0x00, 0x5f}},
+ {{0x00, 0x5f, 0x5f}},
+ {{0x5f, 0x5f, 0x5f}},
+ {{0x87, 0x5f, 0x5f}},
+ {{0xaf, 0x5f, 0x5f}},
+ {{0xd7, 0x5f, 0x5f}},
+ {{0xff, 0x5f, 0x5f}},
+ {{0x00, 0x87, 0x5f}},
+ {{0x5f, 0x87, 0x5f}},
+ {{0x87, 0x87, 0x5f}},
+ {{0xaf, 0x87, 0x5f}},
+ {{0xd7, 0x87, 0x5f}},
+ {{0xff, 0x87, 0x5f}},
+ {{0x00, 0xaf, 0x5f}},
+ {{0x5f, 0xaf, 0x5f}},
+ {{0x87, 0xaf, 0x5f}},
+ {{0xaf, 0xaf, 0x5f}},
+ {{0xd7, 0xaf, 0x5f}},
+ {{0xff, 0xaf, 0x5f}},
+ {{0x00, 0xd7, 0x5f}},
+ {{0x5f, 0xd7, 0x5f}},
+ {{0x87, 0xd7, 0x5f}},
+ {{0xaf, 0xd7, 0x5f}},
+ {{0xd7, 0xd7, 0x5f}},
+ {{0xff, 0xd7, 0x5f}},
+ {{0x00, 0xff, 0x5f}},
+ {{0x5f, 0xff, 0x5f}},
+ {{0x87, 0xff, 0x5f}},
+ {{0xaf, 0xff, 0x5f}},
+ {{0xd7, 0xff, 0x5f}},
+ {{0xff, 0xff, 0x5f}},
+ {{0x00, 0x00, 0x87}},
+ {{0x5f, 0x00, 0x87}},
+ {{0x87, 0x00, 0x87}},
+ {{0xaf, 0x00, 0x87}},
+ {{0xd7, 0x00, 0x87}},
+ {{0xff, 0x00, 0x87}},
+ {{0x00, 0x5f, 0x87}},
+ {{0x5f, 0x5f, 0x87}},
+ {{0x87, 0x5f, 0x87}},
+ {{0xaf, 0x5f, 0x87}},
+ {{0xd7, 0x5f, 0x87}},
+ {{0xff, 0x5f, 0x87}},
+ {{0x00, 0x87, 0x87}},
+ {{0x5f, 0x87, 0x87}},
+ {{0x87, 0x87, 0x87}},
+ {{0xaf, 0x87, 0x87}},
+ {{0xd7, 0x87, 0x87}},
+ {{0xff, 0x87, 0x87}},
+ {{0x00, 0xaf, 0x87}},
+ {{0x5f, 0xaf, 0x87}},
+ {{0x87, 0xaf, 0x87}},
+ {{0xaf, 0xaf, 0x87}},
+ {{0xd7, 0xaf, 0x87}},
+ {{0xff, 0xaf, 0x87}},
+ {{0x00, 0xd7, 0x87}},
+ {{0x5f, 0xd7, 0x87}},
+ {{0x87, 0xd7, 0x87}},
+ {{0xaf, 0xd7, 0x87}},
+ {{0xd7, 0xd7, 0x87}},
+ {{0xff, 0xd7, 0x87}},
+ {{0x00, 0xff, 0x87}},
+ {{0x5f, 0xff, 0x87}},
+ {{0x87, 0xff, 0x87}},
+ {{0xaf, 0xff, 0x87}},
+ {{0xd7, 0xff, 0x87}},
+ {{0xff, 0xff, 0x87}},
+ {{0x00, 0x00, 0xaf}},
+ {{0x5f, 0x00, 0xaf}},
+ {{0x87, 0x00, 0xaf}},
+ {{0xaf, 0x00, 0xaf}},
+ {{0xd7, 0x00, 0xaf}},
+ {{0xff, 0x00, 0xaf}},
+ {{0x00, 0x5f, 0xaf}},
+ {{0x5f, 0x5f, 0xaf}},
+ {{0x87, 0x5f, 0xaf}},
+ {{0x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7}},
+ {{0x87, 0xaf, 0xd7}},
+ {{0xaf, 0xaf, 0xd7}},
+ {{0xd7, 0xaf, 0xd7}},
+ {{0xff, 0xaf, 0xd7}},
+ {{0x00, 0xd7, 0xd7}},
+ {{0x5f, 0xd7, 0xd7}},
+ {{0x87, 0xd7, 0xd7}},
+ {{0xaf, 0xd7, 0xd7}},
+ {{0xd7, 0xd7, 0xd7}},
+ {{0xff, 0xd7, 0xd7}},
+ {{0x00, 0xff, 0xd7}},
+ {{0x5f, 0xff, 0xd7}},
+ {{0x87, 0xff, 0xd7}},
+ {{0xaf, 0xff, 0xd7}},
+ {{0xd7, 0xff, 0xd7}},
+ {{0xff, 0xff, 0xd7}},
+ {{0x00, 0x00, 0xff}},
+ {{0x5f, 0x00, 0xff}},
+ {{0x87, 0x00, 0xff}},
+ {{0xaf, 0x00, 0xff}},
+ {{0xd7, 0x00, 0xff}},
+ {{0xff, 0x00, 0xff}},
+ {{0x00, 0x5f, 0xff}},
+ {{0x5f, 0x5f, 0xff}},
+ {{0x87, 0x5f, 0xff}},
+ {{0xaf, 0x5f, 0xff}},
+ {{0xd7, 0x5f, 0xff}},
+ {{0xff, 0x5f, 0xff}},
+ {{0x00, 0x87, 0xff}},
+ {{0x5f, 0x87, 0xff}},
+ {{0x87, 0x87, 0xff}},
+ {{0xaf, 0x87, 0xff}},
+ {{0xd7, 0x87, 0xff}},
+ {{0xff, 0x87, 0xff}},
+ {{0x00, 0xaf, 0xff}},
+ {{0x5f, 0xaf, 0xff}},
+ {{0x87, 0xaf, 0xff}},
+ {{0xaf, 0xaf, 0xff}},
+ {{0xd7, 0xaf, 0xff}},
+ {{0xff, 0xaf, 0xff}},
+ {{0x00, 0xd7, 0xff}},
+ {{0x5f, 0xd7, 0xff}},
+ {{0x87, 0xd7, 0xff}},
+ {{0xaf, 0xd7, 0xff}},
+ {{0xd7, 0xd7, 0xff}},
+ {{0xff, 0xd7, 0xff}},
+ {{0x00, 0xff, 0xff}},
+ {{0x5f, 0xff, 0xff}},
+ {{0x87, 0xff, 0xff}},
+ {{0xaf, 0xff, 0xff}},
+ {{0xd7, 0xff, 0xff}},
+ {{0xff, 0xff, 0xff}},
+ {{0x00, 0x00, 0x00}},
+ {{0x12, 0x12, 0x12}},
+ {{0x1c, 0x1c, 0x1c}},
+ {{0x26, 0x26, 0x26}},
+ {{0x30, 0x30, 0x30}},
+ {{0x3a, 0x3a, 0x3a}},
+ {{0x44, 0x44, 0x44}},
+ {{0x4e, 0x4e, 0x4e}},
+ {{0x58, 0x58, 0x58}},
+ {{0x62, 0x62, 0x62}},
+ {{0x6c, 0x6c, 0x6c}},
+ {{0x76, 0x76, 0x76}},
+ {{0x80, 0x80, 0x80}},
+ {{0x8a, 0x8a, 0x8a}},
+ {{0x94, 0x94, 0x94}},
+ {{0x9e, 0x9e, 0x9e}},
+ {{0xa8, 0xa8, 0xa8}},
+ {{0xb2, 0xb2, 0xb2}},
+ {{0xbc, 0xbc, 0xbc}},
+ {{0xc6, 0xc6, 0xc6}},
+ {{0xd0, 0xd0, 0xd0}},
+ {{0xda, 0xda, 0xda}},
+ {{0xe4, 0xe4, 0xe4}},
+ {{0xee, 0xee, 0xee}},
+};