Changeset 96 for trunk/src/color.py
- Timestamp:
- 09/12/08 01:30:22 (4 years ago)
- Files:
-
- 1 modified
-
trunk/src/color.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/color.py
r85 r96 25 25 return maxValue 26 26 return value 27 27 28 28 def hex2rgb(hexstring, digits=2): 29 29 """Converts a hexstring color to a rgb tuple. … … 48 48 clamp(0.0, 1.0, g + amount), 49 49 clamp(0.0, 1.0, b + amount)) 50 50 51 51 def generateColorscheme(masterColor, keys): 52 52 """Generates a dictionary where the keys match the keys argument and
