Create Coloured/Gradient Text In Python
Project description
HexText
Use Hex Code To Make Coloured Text With Python
Installation/Setup
pip install hextext
python -m pip install poptext
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
HexText-0.1.0.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HexText-0.1.0.tar.gz.
File metadata
- Download URL: HexText-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9cf87131a95d1434e963c91699505838e76684141872b59a8c031ef65c30d4f
|
|
| MD5 |
f644862a8fa889a2f026c153496c7742
|
|
| BLAKE2b-256 |
b1866b3534a1cad990dec9fef54352e3141b1b211f5cf17036594359fff3911c
|
File details
Details for the file HexText-0.1.0-py3-none-any.whl.
File metadata
- Download URL: HexText-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18991085713fb87d2323d98e3f3450b06a421293ef7de317baed56da9df1a8db
|
|
| MD5 |
8714868224029dffaaccd27d729171fd
|
|
| BLAKE2b-256 |
0011615ecaa168037c900316baff7f53abeacbff970b59fe538577a8eaea6cc3
|