summaryrefslogtreecommitdiff
path: root/colour.py
diff options
context:
space:
mode:
Diffstat (limited to 'colour.py')
-rw-r--r--colour.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/colour.py b/colour.py
deleted file mode 100644
index fa24f2b..0000000
--- a/colour.py
+++ /dev/null
@@ -1,8 +0,0 @@
-import hashlib
-
-def hash_colour(data):
- data = map(ord, hashlib.md5(data).digest())
- colour = data[::3], data[1::3], data[2::3]
- colour = map(sum, colour)
- return (colour[0] % 255, colour[1] % 255, colour[2] % 255)
-