Advertisement
LuaDotExe

Luunox Gradient (Blue to Purple to Black)

Mar 12th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.69 KB | None | 0 0
  1. #Luunox
  2. Luunox = ('000000','230024','360038','47004A','600063','79007D','910096','A500AB','B900BF','D400DB','C100DB','B600DB','9600DB','7800DB','5000DB','2500DB','2100C7','1D00B0')
  3.  
  4. def gradientluunox(text):
  5.     leng = len(text)
  6.     output = ''
  7.     if leng < 18:
  8.         for i in range(0, leng):
  9.             output += '<c=#%s>' % Luunox[i]
  10.         for i in range(0, leng):
  11.             output += text[i] + '</c>'
  12.     else:
  13.         output += '<c=#'
  14.         output += '><c=#'.join(Luunox)
  15.         output += '>'
  16.         size = int(math.ceil(leng / 18.0))
  17.         for i in range(1, 19):
  18.             output += text[(i-1)*size:i*size] + '</c>'
  19.     return output
  20. gradientluunox.command="Luunox"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement