From 75cafb53ccc32afab3f15dfb5634874fd9500c84 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 12 Nov 2021 19:16:17 +0100 Subject: Move colors in an enum in Color module Signed-off-by: Olivier Gayot --- cameltris/color.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cameltris/color.py (limited to 'cameltris/color.py') 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) -- cgit v1.2.3