summaryrefslogtreecommitdiffstats
path: root/color.py
diff options
context:
space:
mode:
Diffstat (limited to 'color.py')
-rw-r--r--color.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/color.py b/color.py
index 71fbaaf..2b51701 100644
--- a/color.py
+++ b/color.py
@@ -1,5 +1,5 @@
"""Color vector library containing HSV and RGB."""
-from __future__ import division
+from __future__ import division, unicode_literals
import colorsys
import math
@@ -82,3 +82,12 @@ def RGB(Vector):
def b(self):
"""Return blue value."""
return self.components[2]
+
+red = RGB(1, 0, 0)
+green = RGB(0, 1, 0)
+blue = RGB(0, 0, 1)
+cyan = RGB(0, 1, 1)
+magenta = RGB(1, 0, 1)
+yellow = RGB(1, 1, 0)
+white = RGB(1, 1, 1)
+black = RGB(0, 0, 0)