Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Coloreflection icon

Coloreflection

A tool with which you can use colors in your Python code to decorate terminal output.

Install

pip install coloreflection

or,

poetry add coloreflection

Capabilities

Dark PyCharm theme

Styles with dark PyCharm themeForeground colors with dark PyCharm themeBackground colors with dark PyCharm theme

Light PyCharm theme

Styles with light PyCharm themeForeground colors with light PyCharm themeBackground colors with light PyCharm theme

Usage

fromcoloreflectionimportColorC=Color()
print(C.border(" Using style for text "))
print(C.FG.red("Changing text color"))
print(C.BG.green("Changing text background"))
print(C.border(C.bold(C.FG.pink("You can"))), "combine", C.BG.blue(C.FG.yellow(f"different colors{C.reverse(' and styles.')}")))

Usage examples

About

Python tool to use colors for terminal

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages