Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/color.py
diff options
context:
space:
mode:
authorJoe Lee <joe@jotaro.com>2008-03-11 05:18:54 (GMT)
committer Joe Lee <joe@jotaro.com>2008-03-11 05:18:54 (GMT)
commit0044b6872ca1cd38e96c81d7f3ce21c5689b7f0c (patch)
treef95248f4cb71f17a128bb7903b07342fd4265def /color.py
Initial import
Diffstat (limited to 'color.py')
-rwxr-xr-xcolor.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/color.py b/color.py
new file mode 100755
index 0000000..8ea70b3
--- /dev/null
+++ b/color.py
@@ -0,0 +1,48 @@
+#!/usr/bin/env python
+#
+# Copyright (C) 2007, Joseph C. Lee
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+# Derived from Sugar list of colors.
+colors = (
+ (0.368627, 0.000000, 0.549020), # 5E008C
+ (0.901961, 0.000000, 0.039216), # E6000A
+ (0.000000, 0.917647, 0.066667), # 00EA11
+ (1.000000, 0.980392, 0.000000), # FFFA00
+ (0.498039, 0.000000, 0.749020), # 7F00BF
+ (1.000000, 0.560784, 0.000000), # FF8F00
+ (0.000000, 0.372549, 0.894118), # 005FE4
+ (0.603922, 0.321569, 0.000000), # 9A5200
+ (0.000000, 0.345098, 0.549020), # 00588C
+ (0.737255, 0.807843, 1.000000), # BCCEFF
+ (1.000000, 0.678431, 0.807843), # FFADCE
+ (0.000000, 0.627451, 1.000000), # 00A0FF
+ (0.788235, 0.494118, 0.000000), # C97E00
+ (0.000000, 0.698039, 0.050980), # 00B20D
+ (0.545098, 1.000000, 0.478431), # 8BFF7A
+ (0.501961, 0.458824, 0.000000), # 807500
+ (0.674510, 0.196078, 1.000000), # AC32FF
+ (0.654902, 0.000000, 1.000000), # A700FF
+ (0.972549, 0.909804, 0.000000), # F8E800
+ (0.000000, 0.501961, 0.035294), # 008009
+ (0.600000, 0.000000, 0.901961), # 9900E6
+ (0.745098, 0.619608, 0.000000), # BE9E00
+ (1.000000, 0.756863, 0.411765), # FFC169
+ (0.698039, 0.000000, 0.031373), # B20008
+ (0.819608, 0.639216, 1.000000), # D1A3FF
+ (1.000000, 0.168627, 0.203922), # FF2B34
+ (0.737255, 0.803922, 1.000000), # BCCDFF
+)