Text color | Code | Text style | Code | Background color | Code |
---|---|---|---|---|---|
Black | 30 | No effect | 0 | Black | 40 |
Red | 31 | Bold | 1 | Red | 41 |
Green | 32 | Underline | 2 | Green | 42 |
Yellow | 33 | Negative1 | 3 | Yellow | 43 |
Blue | 34 | Negative2 | 5 | Blue | 44 |
Purple | 35 | Purple | 45 | ||
Cyan | 36 | Cyan | 46 | ||
White | 37 | White | 47 |
- Reset: '\033[m]'
- 1x code: '\033[codem]'
- 2x code: '\033[code;codem]'
If this project help you, you can give me a tip ;)
- This version has been created by: Mortadha DAHMANI
- Initial Release : 01 April 2020
- PyColorText is distributed under the LGPL version 3 license.