.. colorise documentation master file, created by
sphinx-quickstart on Tue Oct 29 16:29:47 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. image:: images/colorise-logo.png
:target: images/colorise-logo.png
.. image:: https://img.shields.io/pypi/v/colorise.svg
:target: https://pypi.org/project/colorise/
.. image:: https://img.shields.io/github/workflow/status/MisanthropicBit/colorise/ci/master
:alt: Build status
:target: https://github.com/MisanthropicBit/colorise/actions
.. image:: https://readthedocs.org/projects/colorise/badge/?version=latest
:target: https://colorise.readthedocs.io/en/latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/wheel/colorise
:alt: Wheel support
:target: https://img.shields.io/pypi/wheel/colorise
.. image:: https://img.shields.io/github/license/MisanthropicBit/colorise.svg
:alt: License
:target: https://img.shields.io/github/license/MisanthropicBit/colorise.svg
.. image:: https://img.shields.io/pypi/pyversions/colorise.svg
:alt: Python Versions
:target: https://pypi.org/project/colorise/
.. toctree::
:maxdepth: 2
:hidden:
tutorial
screenshots
faq
changelog
modules
tested_systems
colorise is a Python module for printing colored text in terminals.
You can install it via `pip `_.
.. code-block:: bash
$ 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.
.. image:: images/frontpage-example.png
Indices and tables
------------------
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`