Gpcolor

Latest version: v1.0.1

Safety actively analyzes 702088 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

gpColor

gpColor is a Python module for applying ANSI, RGB and HEX colors in terminal output.

Usage

python
from gpColor import colorize as color

'''how to use text color'''
print(color("This is bright red text", font='bright_red'))
print(color("This is RGB text", font=(255, 0, 0)))
print(color("This is HEX text", font='FF5733'))

'''
>_ How to use background color with text color

text : font
background : back
'''
print(color("This is blue text with yellow background", font='blue', back='yellow'))
print(color("This is RGB text", font=(255, 0, 0), back=(255,255,255))
print(color("This is HEX text", font='FF5733', back='FFFFFF'))

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.