- Get colors and styles in your console. Inspired by colors.js
- Too lazy to upload this to pip rn. Download
/ansi
directory and import it directly.
black()
purple()
red()
green()
yellow()
blue()
magenta()
cyan()
white()
grey()
orgray()
bright_red()
bright_green()
bright_yellow()
bright_blue()
bright_magenta()
bright_cyan()
bright_white()
black()
purple()
red()
green()
yellow()
blue()
magenta()
cyan()
white()
gray()
orgrey()
bright_red()
bright_green()
bright_yellow()
bright_blue()
bright_magenta()
bright_cyan()
bright_white()
reset()
bold()
dim()
italic()
underline()
inverse()
hidden()
strikethrough()
rainbow()
zebra()
trap()
freaky()
import ansi
# colors >
print(ansi.fg.black("Indent")) # outputs black
print(ansi.bg.purple("Vein")) # outputs purple
# style >
print(ansi.italic('hello?')) # outputs italic
print(ansi.inverse('Boo!')) # outputs inverse
# extras >
print(ansi.zebra('crossing')) # outputs zebra color
print(ansi.freaky('freaky vro')) # outputs 𝓯𝓻𝓮𝓪𝓴𝔂 style