Generates coloured/rainbow text in terminal
- Tested on Windows 8, 8.1, 10, 11, Ubuntu 20.04.2 LTS x86_64 and Kali GNU/Linux Roll
- Python 3.5 or above
- Colr library
Install Python 3, then
install Colr using
pip install colr
OR
py -m pip install colr
OR
git clone https://github.com/welbornprod/colr.git
cd colr
python3 setup.py install
Then download main.py
or copy text
Run file as .py
not .pyw
To import, use
from main import *
OR
import main
main.help()
displays a list of commands and helpmain.test()
checks that it is workingmain.matrix()
to show rainbow numbers in constant loopmain.colour()
syntax iscolour("Your text here")
To change colour range edit colours
array
Import time to add delay
Importing main
and then using the help()
and test()
functions
After leaving the matrix()
function for a few seconds
Using colour("text")
to display a custom message