A package where some colors are defined. Very simple, but very useful.
Project description
Colors1 library for Python
A library for working with colors in Python.
Installation
pip install colors1
Usage
from colors1 import colors
print(colors.terminalRed + "This is red" + colors.end)
Add colors.terminalRed or any color before your
string to make the string
colored, and use colors.end
to end the color. Use
colors.terminal colors ONLY FOR TERMINAL PRINTING.
You can also use colors.hexRed or colors.rgbRed
to get the hex or rgb value of a color.
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
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 colors1-0.0.2.tar.gz.
File metadata
- Download URL: colors1-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c946c3ab58657da343e3ef575e18c889b6c8401895f6dca1f9b147f8c9da2255
|
|
| MD5 |
3b1231a513d96cfe37c05b30f56eef75
|
|
| BLAKE2b-256 |
3cadf5e98b8064bb0e752e8b23d587fa626154225b7fd531b58c5318215eb4b4
|
File details
Details for the file colors1-0.0.2-py3-none-any.whl.
File metadata
- Download URL: colors1-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74aa46ac08cd4c6b14d330e50772819c0335a7704003cd3627b9c520a03148e4
|
|
| MD5 |
5e7f38084bb3d7b8fa20acce31087492
|
|
| BLAKE2b-256 |
0e27795629e811785ba3d34e1b3e2ec842c8c3e88a4d5db8b39314b601e336e3
|