Skip to main content

A library for coloring texts in the terminal

Project description

TTPALETTE

A library for coloring texts in the terminal

This library works with ANSI escape code

256 Color table

The photo is from here
256 Color table

Examples

Use a specific color

import ttpalette

ttpalette.BackColor().list_costum_colors(14)
ttpalette.Color().list_costum_colors(14)

Use a solid color

import ttpalette

ttpalette.Color.RED()
ttpalette.BackColor.RED()

Fixed colors available

BLACK
RED
GREEN
YELLOW
BLUE
MAGENTA
CYAN
WHITE

RESET

Back to normal

import ttpalette


ttpalette.Color.RESET
ttpalette.BackColor.RESET

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

ttpalette-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

ttpalette-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ttpalette-0.1.0.tar.gz.

File metadata

  • Download URL: ttpalette-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for ttpalette-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f19c50d5ae64f839ec323ae66d9e12d8c5317f65cf8f524270bf319582b03be6
MD5 f04d50b63fc1646ee5553d39ef070e92
BLAKE2b-256 32a24999c64bbc35fef2a13e1a42e8567dcbacf433d786a9f824ebcde25a9e6a

See more details on using hashes here.

File details

Details for the file ttpalette-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ttpalette-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for ttpalette-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4422a632f01a7e67a9da44eb4777ae33eafc553a42f41b248784a8962fd78dc5
MD5 f5c34904a18a6a95d669b5ad33962f4c
BLAKE2b-256 59ade661ee462700c3c8c01f900fc0b68fef72d5156f185eb3fb9c8b19345144

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