tips:gource_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tips:gource_analysis [2010-05-19 21:37] – 79.85.106.47 | tips:gource_analysis [2010-05-20 15:53] (current) – some versions of gource need RGB hex colour to be in upper case 193.9.13.135 | ||
---|---|---|---|
Line 33: | Line 33: | ||
def RGBToHTMLColor(rgb_tuple): | def RGBToHTMLColor(rgb_tuple): | ||
""" | """ | ||
- | hexcolor = '#%02x%02x%02x' % rgb_tuple | + | hexcolor = '#%02X%02X%02X' % rgb_tuple |
# that's it! ' | # that's it! ' | ||
return hexcolor | return hexcolor |
tips/gource_analysis.txt · Last modified: 2010-05-20 15:53 by 193.9.13.135