_images/colorise-logo.png https://img.shields.io/pypi/v/colorise.svg Build status Documentation Status Wheel support License Python Versions

colorise is a Python module for printing colored text in terminals.

You can install it via pip.

$ pip install colorise

Features

  • Supports 8, 16, 88, 256 colors and true-color.
  • Colors can be specified by name, index, hexadecimal, HLS, HSV or RGB formats.
  • Custom color format akin to Python 3.0 string formatting.
  • Automatically find the closest color based on the terminal’s capabilities.
  • Cross-platform: Works on Mac, Linux and Windows systems.
_images/frontpage-example.png

Indices and tables