Skip to main content

A better console color library

Project description

truecolor

A better console color library for python

GitHub

PyPI

Print Colored Text

from truecolor import fg, reset
from os import system

system('cls')
print(f"{fg('magenta')}This {fg((255, 0, 0))}is{fg('magenta')} magenta text!{fg('#ff8243')} This is the exact hex color #ff8243 :){reset}")

Output

alt text

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

truecolor.py-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

truecolor.py-0.0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file truecolor.py-0.0.2.tar.gz.

File metadata

  • Download URL: truecolor.py-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for truecolor.py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c3ab1bb7dc1458155c031349e4b0310fca5835f3a81e623f1bc37da0306a0c1b
MD5 7e5c5cf46e28d711920944ac4efac1a7
BLAKE2b-256 ac5fff91fb84cd856da3857c0a1f71d8f6e81a4608b4d6d865b4771815900ac2

See more details on using hashes here.

File details

Details for the file truecolor.py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: truecolor.py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for truecolor.py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d62e6aa82a7788d660342340a68576dd5d4a1ee99db01baec089438eb5c9ea15
MD5 84dfa15de662ebe1d07a1968d383150e
BLAKE2b-256 f16be01a156db1aef3e3750208907d5ad1db71f71b91a2a0e47b74a3c355aea6

See more details on using hashes here.

Supported by

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