ab5
print ascii art with gratient colors
print ascii art with gratient colors
To install packages from this channel, you must first login at the command line:
anaconda loginYou can then use the channel temporarily with conda or add it to your .condarc file for configured ongoing access. Learn more
UwU
there is vertical and horizontal gratients you can use
vertical example:
from ab5 import vgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(vgratient(logo,start_color,end_color))
horizontal example:
from ab5 import hgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(hgratient(logo,start_color,end_color))
Summary
print ascii art with gratient colors
Last Updated
Apr 22, 2026 at 18:18
License
MIT