Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

nicechart_colors.py

By: a guest on Oct 2nd, 2012  |  syntax: Python  |  size: 0.54 KB  |  hits: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. red     =["#460101","#980101","#d40000","#f44800","#fb8b00","#eec73e","#d9bb7a","#fdd99b"]
  3. blue    =["#000442","#0F1781","#252FB7","#3A45E1","#656DDE","#8A91EC"]
  4. gray    =["#222222","#444444","#666666","#888888","#aaaaaa","#cccccc","#eeeeee"]
  5. contrast=["#0000FF","#FF0000","#00FF00","#CF9100","#FF00FF","#00FFFF"]
  6.  
  7. default=red
  8.  
  9. table={
  10. "default":default,
  11. "red":red,
  12. "blue":blue,
  13. "gray":gray,
  14. "contrast":contrast
  15. }
  16.  
  17.  
  18. def get_color_scheme(name="default"):
  19.         try:
  20.                 returnval=table[name.lower()]
  21.         except:
  22.                 returnval=default
  23.        
  24.         return returnval