Coloratura
Awsome cprint() function to colored terminal text. Supported full RGB! π
Install / Use
/learn @gitpyblog/ColoraturaREADME
π¦Coloratura
Awsome cprint() function to colored terminal text. Supported full RGB! π
Installation
You can install coloratura with pip as follows:
pip install coloratura
Usage
First of all, get the basic cprint functions and selected color palettes:
from coloratura import cprint, Pantone, Bit4
Printing colored text is incredibly ea``sy:
cprint('This text is in the CLASSIC BLUE color from the Pantone palette', color=Pantone.CLASSIC_BLUE)
Easy right? But what if you want to print text with a colored background?
cprint('This is great!', color=Pantone.EMERALD, bg=Pantone.ULTIMATE_GRAY)
You can also add styles to the font:
cprint('This string is italic and green', color=Bit4.GREEN, styles=['italic'])
You can mix multiple text styles
cprint('This string is italic and bold', styles=['italic', 'bold'])
Colors and styles
List of all styles
bold, italic, underline, strong-underline, crossed-out, framed
Remember: Styles can be mixed together by including them in the list of strings
List of all colors from the pantone palette:
List of all colors from the 4bit palette:
List of all colors from the Material palette:

List of all colors from the Flat palette:

List of all colors from the Social palette:

..pssst! Using .palette() you can check all the colors!
# example
Material.palette()
Too little? π€
With the Color class you can define your own colors in the full RGB spectrum π€―
Look how simple it is:
CUSTOM_COLOR = Color('rgb', 191, 25, 50)
..and this is just the beginning of this great library! π
Related Skills
openhue
340.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
340.5kElevenLabs text-to-speech with mac-style say UX.
weather
340.5kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
