Skip to content

This is a Python module which allows you to set gratient colors on texts.

License

Notifications You must be signed in to change notification settings

venaxyt/gratient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRATIENT

I know that it is gradient and not gratient but gradient name was already taken x/

# Module made by @venaxyt on Github
import gratient

text = """
    `7MMF'   `7MF'` 7MM"'"YMM   `7MN.   `7MF'      ma       `YMM'   `MP' 
      `MA     ,V     MM    `7     MMN.    M       ;MM:        VMb.  ,P   
       VM:   ,V      MM   d       M YMb   M      ,V^MM.        `MM.M'    
        MM.  M'      MMmmMM       M  `MN. M     ,M  `MM          MMb     
        `MM A'       MM   Y  ,    M   `MM.M     AbmmmqMA       ,M'`Mb.   
         :MM;        MM     ,M    M     YMM    A'     VML     ,P   `MM.  
          VF       .JMMmmmmMMM  .JML.    YM  .AMA.   .AMMA. .MM:.  .:MMa.

 [!] Please subscribe to my Github profile @venaxyt for more modules like this one.
"""
# Print a gratient text :
gratient_text = gratient.black(text)
print(gratient_text)

gratient_text = gratient.purple(text)
print(gratient_text)

gratient_text = gratient.blue(text)
print(gratient_text)

gratient_text = gratient.red(text)
print(gratient_text)

gratient_text = gratient.yellow(text)
print(gratient_text)

Download : pip install gratient