# Colorama

> Cross-platform coloured terminal text in Python

Source: https://talira.ai/catalog/colorama-h5g60n84
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / terminal ui](https://talira.ai/categories/libraries/terminal-ui)
- Platforms: windows, linux, macos[^1]
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Jonathan Hartley](https://talira.ai/orgs/jonathan-hartley.md)

Colorama is a Python library that makes ANSI escape sequences for coloured text and cursor positioning work on Windows. It wraps stdout, strips the ANSI sequences it finds and turns them into the matching Win32 console calls; on other platforms it does nothing. That gives a simple cross-platform API for printing coloured text, and lets existing programs that print ANSI colours on Linux and macOS work on Windows by calling just_fix_windows_console() or init(). It needs nothing beyond the standard library.

## Links

- GitHub: https://github.com/tartley/colorama

## Problems it solves

- make my Python script's coloured output show properly on Windows
- print coloured terminal text from Python that works on every platform
- stop ANSI escape codes appearing as garbage in the Windows command prompt

## Features

- Makes ANSI colour and cursor sequences work in the Windows console
- just_fix_windows_console() fixes existing ANSI output with one call
- Fore, Back and Style constants for coloured text
- Does nothing on platforms that already handle ANSI
- No dependencies beyond the standard library

## Limitations

- On Windows it doesn't support ANSI dim text, which looks the same as normal text[^1]

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.27, adoption 0.72, momentum 0.43, community 0.69, backing 0.30, extensibility 0.00.

- 3.8k GitHub stars
- 53 contributors
- accepts sponsorship (Custom, Tidelift)
- backed by Jonathan Hartley

Warnings:

- last commit 6 months ago

## Alternatives

- [go-colorable](https://talira.ai/catalog/go-colorable-zxyx4svp.md): Colorable writer for Windows
- [termcolor](https://talira.ai/catalog/termcolor-30yeeqf2.md): ANSI colour formatting for terminal output in Python
- [Rich](https://talira.ai/catalog/rich-e2a15c5r.md): Rich text and beautiful formatting in the terminal for Python

## Sources

[^1]: https://github.com/tartley/colorama/blob/master/README.rst (checked 28 Nov 2026)
[^2]: https://github.com/tartley/colorama/blob/master/LICENSE.txt (checked 28 Nov 2026)
