Skip to main content

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


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)

Uploaded Source

Built Distribution

colors1-0.0.2-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page