Skip to content
/ HexText Public

Use Hex Code To Make Coloured Text Or Gradient Text With Python

License

Notifications You must be signed in to change notification settings

zak799/HexText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HexText

HexText

Use Hex Code To Make Coloured Text With Python

Installation/Setup

pip install hextext
python -m pip install hextext

Using HexText With Print Statements

from hextext import HexText

colorText = HexText()

print(colorText("HexText", color="#ff1100")) # Solid Colour
print(colorText("HextText", gradient=["#ff1100", "#ff8800", "#ffff00"])) # Gradient Text Colour
print(colorText("Hextext", gradient="#fff000")) # Using A Solid Color In A Gradient

Using HexText With Input Statements

from hextext import HexText

colorText = HexText()

input(colorText("How Good Is HexText: ", color="#ff1100")) # Solid Colour
input(colorText("How Good Is HexText: ", gradient=["#ff1100", "#ff8800", "#ffff00"])) # Gradient Text Colour
input(colorText("How Good Is HexText: ", gradient="#fff000")) # Using A Solid Color In A Gradient

About

Use Hex Code To Make Coloured Text Or Gradient Text With Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages