summaryrefslogtreecommitdiff
path: root/src/sliceitoff/display/colors.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-27 15:47:05 +0200
committerViljami Ilola <+@hix.fi>2024-03-27 15:47:05 +0200
commita0cbc5902996b52290afb486b3e2554e1abc123c (patch)
tree55f600717de02e961771932ad0e39080351f20cf /src/sliceitoff/display/colors.py
parent61a1248e340d1c87a6c4e7dec77f1089984b87b6 (diff)
colored texts
Diffstat (limited to 'src/sliceitoff/display/colors.py')
-rw-r--r--src/sliceitoff/display/colors.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sliceitoff/display/colors.py b/src/sliceitoff/display/colors.py
new file mode 100644
index 0000000..18ccfc9
--- /dev/null
+++ b/src/sliceitoff/display/colors.py
@@ -0,0 +1,21 @@
+""" text.colors - colors are defined here """
+
+EGA_COLORS=[
+ (0x00,0x00,0x00,0xFF),
+ (0x00,0x00,0xAA,0xFF),
+ (0x00,0xAA,0x00,0xFF),
+ (0x00,0xAA,0xAA,0xFF),
+ (0xAA,0x00,0x00,0xFF),
+ (0xAA,0x00,0xAA,0xFF),
+ (0xAA,0x55,0x00,0xFF),
+ (0xAA,0xAA,0xAA,0xFF),
+ (0x55,0x55,0x55,0xFF),
+ (0x55,0x55,0xFF,0xFF),
+ (0x55,0xFF,0x55,0xFF),
+ (0x55,0xFF,0xFF,0xFF),
+ (0xFF,0x55,0x55,0xFF),
+ (0xFF,0x55,0xFF,0xFF),
+ (0xFF,0xFF,0x55,0xFF),
+ (0xFF,0xFF,0xFF,0xFF)
+]
+