Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

ab5

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab5

print ascii art with gratient colors

pipPyPI
Version
0.7
Maintainers
1

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))

Keywords

color

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts