rgb color python 1

rgb color python

pip install simple-colors

from simple_colors import *

print(green('hello', 'bold'))
print(green('hello', ['bold', 'underlined']))

Here is what the above code is Doing:
1. Importing the simple_colors module.
2. Printing the word ‘hello’ in green color.
3. Printing the word ‘hello’ in bold green color.
4. Printing the word ‘hello’ in bold and underlined green color.

Similar Posts