# colored

> The simplest way to add colours in your terminal from Rust

Source: https://talira.ai/catalog/colored-n7y9z8yd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / terminal ui](https://talira.ai/categories/libraries/terminal-ui)
- Platforms: linux, macos, windows[^2]
- Licence: MPL-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [NO_COLOR](https://talira.ai/standards/no-color.md)[^3], [CLICOLOR](https://talira.ai/standards/clicolors.md)[^4]
- Backed by: [Thomas Wickham](https://talira.ai/orgs/thomas-wickham.md)

colored is a Rust crate that adds terminal colours and styles to strings through methods on a Colorize trait: "text".red().on_blue().bold(). It covers the eight standard colours and their bright versions, true colour from RGB values, tuples or hex strings, colours named by string, and styles such as bold and italic, and it works with format! padding and truncation. It respects the CLICOLOR, CLICOLOR_FORCE and NO_COLOR conventions, and works on Linux, macOS and Windows (PowerShell).

## Links

- GitHub: https://github.com/mackwic/colored

## Problems it solves

- print coloured output in my Rust command-line tool
- highlight errors in red and successes in green in terminal output from Rust
- turn off colours when NO_COLOR is set without handling it myself

## Features

- Colour and style strings with chained methods like .red().on_blue().bold()
- True colour from RGB values, tuples or hex strings
- Bright colours, bold, italic and other styles
- Respects CLICOLOR, CLICOLOR_FORCE and NO_COLOR
- Works with format! padding and truncation

## Trust

Overall: 0.38 out of 1.
Signals: maintenance 0.27, adoption 0.66, momentum 0.37, community 0.68, backing 0.30, extensibility 0.00.

- latest release v3.1.1 10 months ago
- 2.0k GitHub stars
- 49 contributors
- backed by Thomas Wickham

Warnings:

- last commit 10 months ago

## Alternatives

- [console](https://talira.ai/catalog/console-jd4f55wc.md): Terminal access, colours and styling for Rust command-line apps
- [indicatif](https://talira.ai/catalog/indicatif-m4kdbaq2.md): Progress bars and spinners for Rust command-line apps

## Sources

[^1]: https://github.com/mackwic/colored/blob/master/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/mackwic/colored/blob/master/README.md (checked 27 Nov 2026)
[^3]: https://github.com/mackwic/colored (checked 28 Nov 2026)
[^4]: https://github.com/colored-rs/colored (checked 28 Nov 2026)
