Skip to main content

A simple Windows Terminal ANSI Escape Code Package

Project description

License: CC0-1.0 license

HexHue

Class 'Text' Usage
Regular Text Colors
Text.GRAY # Changes the color of the text to gray
Text.GREY # Changes the color of the text to gray
Text.RED # Changes the color of the text to red
Text.GREEN # Changes the color of the text to green
Text.YELLOW # Changes the color of the text to yellow
Text.BLUE # Changes the color of the text to blue
Text.MAGENTA # Changes the color of the text to magenta
Text.CYAN # Changes the color of the text to cyan
Text.WHITE # Changes the color of the text to white
Lighter Text Colors
Text.LIGHT_GRAY # Changes the color of the text to light gray
Text.LIGHT_GREY # Changes the color of the text to light gray
Text.LIGHT_RED # Changes the color of the text to light red
Text.LIGHT_GREEN # Changes the color of the text to light green
Text.LIGHT_YELLOW # Changes the color of the text to light yellow
Text.LIGHT_BLUE # Changes the color of the text to light blue
Text.LIGHT_MAGENTA # Changes the color of the text to light magenta
Text.LIGHT_CYAN # Changes the color of the text to light cyan
Text.LIGHT_WHITE # Changes the color of the text to light white
Reset Text Colors
Text.RESET # Changes the color of the text to normal
Class 'Back' Usage
Regular Back Colors
Back.GRAY # Changes the background color of the text to gray
Back.GREY # Changes the background color of the text to gray
Back.RED # Changes the background color of the text to red)
Back.GREEN # Changes the background color of the text to green
Back.YELLOW # Changes the background color of the text to yellow
Back.BLUE # Changes the background color of the text to blue
Back.MAGENTA # Changes the background color of the text to magenta
Back.CYAN # Changes the background color of the text to cyan
Back.WHITE # Changes the background color of the text to white
Lighter Back Colors
Back.LIGHT_RED # Changes the background color of the text to light red
Back.LIGHT_GREEN # Changes the background color of the text to light green
Back.LIGHT_YELLOW # Changes the background color of the text to light yellow
Back.LIGHT_BLUE # Changes the background color of the text to light blue
Back.LIGHT_MAGENTA # Changes the background color of the text to light magenta
Back.LIGHT_CYAN # Changes the background color of the text to light cyan
Back.LIGHT_WHITE # Changes the background color of the text to light white
Reset Back Colors
Back.RESET # Changes the background color of the text to normal
Class 'Type' Usage
Type.BOLD # Changes the format of the text to bold
Type.SEMI_BOLD # Changes the format of the text to semi bold
Type.NORMAL # Changes the format of the text to normal
Class 'Hex' Usage
Hex.RESET_ALL # Changes the format, text color, and background color to their default settings
Hex.NEW_LINE # Creates a newline character, indicating that a new line should begin at that point
# Hex.hex(hex_color_code) changes the color ONLY the text to any color provided it's supported in the Windows terminal ANSI color code table.
# Can be used with or without the '#'
# Examples:
Hex.hex('#ff0000') # Changes the text color to red
Hex.hex('ff0000') # Changes the text color to red

License

No Copyright

The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. See Other Information below.

In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer.

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

HexHue-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

HexHue-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file HexHue-0.0.2.tar.gz.

File metadata

  • Download URL: HexHue-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for HexHue-0.0.2.tar.gz
Algorithm Hash digest
SHA256 491e4023a33c90334ff446b6930cba3c060915ae157cebd3eb4088e0d44fa39e
MD5 0a2b3af987939f2c698171097ea848cd
BLAKE2b-256 b33d4d909a97c1183232a91a537989f7cb7620151a2c0d61abff3ed76e7eb1b1

See more details on using hashes here.

File details

Details for the file HexHue-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: HexHue-0.0.2-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.12.0

File hashes

Hashes for HexHue-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 027424641f0c67716a1b53e08ae0e5828274637d42692aadef334fc3635f0390
MD5 3de9191c14e1818204d106ccf79588c6
BLAKE2b-256 020d3c9391453849e4b71af6ca9c0bfa19d4970fd37062db9cde6220ff8f23bd

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