Skip to main content

Print hex-colored text in your terminal from Python

Project description

colorme-v2

Print hex-colored text in your terminal from Python.

Features

  • Color text using hex codes
  • Support for bold and underline styles
  • Easy to use API
  • Super light-weight

Installation

pip install colorme-v2

Usage

from colorme import color_text, bold, underline

# Prints hello world in PURE red

print(color_text("Hello in red!", "#ff0000"))
# Prints Blue backround

print(color_text("Background blue", "#0000ff", background=True))

# Prints Bold green text
print(bold(color_text("Bold green", "#00ff00")))

# Prints Orange Underlined Text
print(underline(color_text("Underlined orange", "#ffa500")))

License

this project is licensed under:

GPL-2.0 License

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

colorme_v2-2.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

colorme_v2-2.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file colorme_v2-2.1.tar.gz.

File metadata

  • Download URL: colorme_v2-2.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for colorme_v2-2.1.tar.gz
Algorithm Hash digest
SHA256 def6a089248c183a5f1b7cb3bfc8ea3e28f43e88579637b4254442cb8721a6bc
MD5 36c66f8f796047777d10e4552df9dcaa
BLAKE2b-256 15ddbdf766ddb548c895902a5f7ca437b901deba8f81643a8a1d9004957b0137

See more details on using hashes here.

File details

Details for the file colorme_v2-2.1-py3-none-any.whl.

File metadata

  • Download URL: colorme_v2-2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for colorme_v2-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78f5afe43f35144fa87c6d8d9014765ffcd9755978b067a367adab315b149900
MD5 d76b6d500e6401ecc8357b0d2e5ec397
BLAKE2b-256 6b8157e436e9fd052ba4e625aec14f88133b38445bb061b0e7b9681b2f77293d

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