$ colored
v3.1.1MAJOR UPDATEThe most simple way to add colors in your terminal
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());
}
Links • https://crates.io/crates/colored • http://bixense.com/clicolors/ • https://no-color.org/ • https://github.com/defunkt/colored • https://github.com/ogham/rust-ansi-term • https://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
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add coloredOr add to Cargo.toml: colored = "3.1.1"