Colored - PyPI
Maybe your like
pip install colored Copy PIP instructions
Latest versionReleased: Jul 31, 2025
Simple python library for color and formatting to terminal
Navigation
- Project description
- Release history
- Download files
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Dimitris Zlatanidis
Unverified details
These details have not been verified by PyPIProject links
- homepage
Meta
- License: MIT License
- Tags xterm , color , colour , vt100 , ansi , terminal , text , rgb , linux , windows
- Requires: Python >=3.9
Classifiers
- Development Status
- 5 - Production/Stable
- Environment
- Console
- License
- OSI Approved :: MIT License
- Operating System
- Microsoft :: Windows
- Microsoft :: Windows :: Windows 10
- OS Independent
- POSIX :: Linux
- POSIX :: Other
- Programming Language
- Python :: 3
- Topic
- Terminals
- Typing
- Typed
- Project description
- Project details
- Release history
- Download files
Project description
About
Colored, it's a simple Python library for color and formatting in terminal. Collection of color codes and names for 256 color terminal setups. Colored now supports RGB color mode. As "true color" graphic cards with 16 to 24 bits of color became common, applications began to support 24-bit colors. Terminal emulators supporting setting 24-bit foreground and background colors with escape sequences include Xterm, KDE's Konsole, and iTerm, as well as all libvte based terminals, including GNOME Terminal.
The colors work with most terminals and terminals emulators. ANSI/VT100 escape sequences can be used in every programming languages.
Colored is powerful and easy to use:
>>> fromcoloredimport Fore, Back, Style >>> >>> Fore.red '\x1b[38;5;1m' >>> >>> Back.red '\x1b[48;5;1m' >>> >>> Style.reset '\x1b[0m' >>> >>> Fore.rgb('100%', '50%', '30%') '\x1b[38;2;255;130;79m' >>> >>> print(f'{Fore.white}{Back.green}Colored is Awesome!!!{Style.reset}')!!! success
>>> Colored is Awesome!!!
Installing
Open up a terminal and install colored with pip command:
$pipinstallcoloredAlternatively, you can grab the latest source code from GitLab:
$gitclonehttps://gitlab.com/dslackw/colored.git $cdcolored $pipinstall.Usage
The User Guide is the place to go to learn how to use the library.
The API Reference documentation provides API-level documentation.
License
colored is made available under the MIT License. For more details, see here.
Contributing
!!! info We happily welcome contributions!
Donate
Did you know that we developers love coffee?
Project details
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Dimitris Zlatanidis
Unverified details
These details have not been verified by PyPIProject links
- homepage
Meta
- License: MIT License
- Tags xterm , color , colour , vt100 , ansi , terminal , text , rgb , linux , windows
- Requires: Python >=3.9
Classifiers
- Development Status
- 5 - Production/Stable
- Environment
- Console
- License
- OSI Approved :: MIT License
- Operating System
- Microsoft :: Windows
- Microsoft :: Windows :: Windows 10
- OS Independent
- POSIX :: Linux
- POSIX :: Other
- Programming Language
- Python :: 3
- Topic
- Terminals
- Typing
- Typed
Release history Release notifications | RSS feed
This version2.3.1
Jul 31, 2025
2.3.0
Feb 10, 2025
2.2.5
Jan 28, 2025
2.2.4
Dec 19, 2023
2.2.3
Jul 12, 2023
2.2.2
Jun 26, 2023
2.2.1
Jun 25, 2023
2.2.0
Jun 24, 2023
2.1.1
Jun 20, 2023
2.1.0
Jun 20, 2023
2.0.0
Jun 19, 2023
1.4.4
Nov 11, 2022
1.4.3
Oct 23, 2021
1.4.2
Dec 9, 2019
1.4.1
Nov 29, 2019
1.4.0
Oct 2, 2019
1.3.93
Jul 6, 2018
1.3.92
Jul 6, 2018
1.3.9
Jun 26, 2018
1.3.8
Jun 26, 2018
1.3.7
Jun 24, 2018
1.3.6
Jun 24, 2018
1.3.5
May 7, 2017
1.3.4
Jan 20, 2017
1.3.3
Nov 19, 2016
1.3.2
Nov 2, 2016
1.3.1
Sep 20, 2016
1.3.0
Sep 20, 2016
1.2.2
May 18, 2016
1.2.1
Jun 6, 2015
1.2.0
Jun 6, 2015
1.1.5
Feb 25, 2015
1.1.4
Aug 1, 2014
1.1.3
Jul 12, 2014
1.1.2
Jul 12, 2014
1.1.1
Jul 11, 2014
1.1.0
Jul 9, 2014
1.0.9
Jul 8, 2014
1.0.8
Jul 8, 2014
1.0.7
Jul 8, 2014
1.0.6
Jul 7, 2014
1.0.5
Jul 4, 2014
1.0.4
Jul 3, 2014
1.0.3
Jul 3, 2014
1.0.2
Jul 2, 2014
1.0.1
Jul 2, 2014
1.0.0
Jul 2, 2014
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colored-2.3.1.tar.gz (16.0 kB view details)Uploaded Jul 31, 2025 Source
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters Copy
File name Interpreter Interpreter py3 ABI ABI none Platform Platform any colored-2.3.1-py3-none-any.whl (19.9 kB view details)Uploaded Jul 31, 2025 Python 3
File details
Details for the file colored-2.3.1.tar.gz.
File metadata
- Download URL: colored-2.3.1.tar.gz
- Upload date: Jul 31, 2025
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | fe6e888e12dc16643daa0b108f785df6d0b48420084b5d0a567de27bb09a14d8 | Copy |
| MD5 | bdc4333974e1b6a3bc9acb4c98cd5a2d | Copy |
| BLAKE2b-256 | 4a32b772def12071faf780dd14e8a95ec8eba4bf5934f302de3a3780b919859a | Copy |
See more details on using hashes here.
File details
Details for the file colored-2.3.1-py3-none-any.whl.
File metadata
- Download URL: colored-2.3.1-py3-none-any.whl
- Upload date: Jul 31, 2025
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 15d85396d6841f79534bf4668330b5e8686a5e58e730c84ada0e09d335b21fd1 | Copy |
| MD5 | 432042d21ffbe20ccf8c60b6b35fd580 | Copy |
| BLAKE2b-256 | e43358702880fe6bb3ed91cb21e1c92b002f9b73e32c0c5e3e9e2c0a94eaac61 | Copy |
See more details on using hashes here.
- English
- español
- français
- 日本語
- português (Brasil)
- українська
- Ελληνικά
- Deutsch
- 中文 (简体)
- 中文 (繁體)
- русский
- עברית
- Esperanto
- 한국어
Supported by
Tag » Color Print Python 3
-
How Do I Print Colored Output With Python 3? - Stack Overflow
-
Print Colors In Python Terminal - GeeksforGeeks
-
How To Print Colored Text In Python - Stack Abuse
-
How To Print Colored Text In Python - Studytonight
-
How To Color Text In Python 3 Code Example
-
Python — Print Colored Text With Ease - Towards Data Science
-
Add Colour To Text In Python
-
Print Colored Text In Python - Linux Hint
-
Texte En Couleur Imprimé En Python | Delft Stack
-
How To Print String In Color On The Console In Python 3
-
How To Print Colored Text In Python (Colorama Tutorial) - YouTube
-
Color Text Output To The Console In Python 3: Colorama And Termcolor
-
Comment Puis-je Imprimer De Couleur De Sortie Avec Python 3?
-
Python Program To Print Colored Text To The Terminal - Programiz