$ colored

v3.1.1MAJOR UPDATE

The most simple way to add colors in your terminal

Downloads: 121.6M
Recent: 19.3M
Versions: 33
Updated: January 16, 2026

Latest Update Summary

Crate

Name: colored New version: 3.1.1 Release date: 2026-01-16T16:13:51.893178Z

Crate readme

Short description Coloring terminal so simple, you already know how to do it!

Long description Colored is a Rust library that simplifies the process of coloring terminal output with various text styles and colors, including support for true colors. It aims to be safe and easy to use with minimal dependencies. The crate respects terminal color behaviors and works across platforms like Linux, macOS, and Windows. The current Minimum Supported Rust Version (MSRV) is 1.80, checked automatically via CI.

Features • Safe rust, easy to use, minimal dependencies, complete test suite • Respect the CLICOLOR/CLICOLOR_FORCE behavior • Respect the NO_COLOR behavior • Works on Linux, MacOS, and Windows (Powershell) • Support for true colors with arbitrary RGB values

Code Examples Add to Cargo.toml

 [dependencies]
colored = "3"

Basic usage

 extern crate colored; // not needed in Rust 2018+

use colored::Colorize;

fn main() {
    println!("{} {} !", "it".green(), "works".blue().bold());
}

Linkshttps://crates.io/crates/coloredhttp://bixense.com/clicolors/https://no-color.org/https://github.com/defunkt/coloredhttps://github.com/ogham/rust-ansi-termhttps://www.mozilla.org/en-US/MPL/2.0/https://github.com/mackwic/colored/blob/master/LICENSE

https://api.github.com/repos/colored-rs/colored/releases/277452533

Release info

Release version: N/A

Release description N/A

Code Examples N/A

Minor update: 3.0.0 → 3.1.1

$ DOWNLOADS TREND

100.6M121.6M

$ VERSION HISTORY

v3.1.1January 16, 2026
v3.0.0January 7, 2025

$ LINKS

$ INSTALL

cargo add colored

Or add to Cargo.toml: colored = "3.1.1"