diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-11-12 19:16:17 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-11-12 19:16:17 +0100 |
commit | 75cafb53ccc32afab3f15dfb5634874fd9500c84 (patch) | |
tree | 4c7be3c1961b169844ac9cd2c71c71484c33a0ca /cameltris/color.py | |
parent | f9666c85abb56b8fd1ce8b7574066543148c8316 (diff) |
Move colors in an enum in Color module
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/color.py')
-rw-r--r-- | cameltris/color.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cameltris/color.py b/cameltris/color.py new file mode 100644 index 0000000..3fc2f9d --- /dev/null +++ b/cameltris/color.py @@ -0,0 +1,13 @@ +from enum import Enum + + +class Color(Enum): + black = (0, 0, 0) + white = (0xff, 0xff, 0xff) + brown = (163, 75, 31) + blue = (30, 34, 164) + green = (30, 164, 59) + red = (164, 30, 30) + purple = (126, 30, 164) + yellow = (164, 164, 30) + cyan = (30, 164, 150) |