diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-27 15:47:05 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-27 15:47:05 +0200 |
commit | a0cbc5902996b52290afb486b3e2554e1abc123c (patch) | |
tree | 55f600717de02e961771932ad0e39080351f20cf /src/sliceitoff/display/colors.py | |
parent | 61a1248e340d1c87a6c4e7dec77f1089984b87b6 (diff) |
colored texts
Diffstat (limited to 'src/sliceitoff/display/colors.py')
-rw-r--r-- | src/sliceitoff/display/colors.py | 21 |
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) +] + |