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
colors1-0.0.2.tar.gz
(2.8 kB
view hashes)