kolorz 0.7.0

A silly little library for printing kolored text to the terminal
Documentation

❖ Information

kolorz is a silly little library for printing kolored text to the terminal


❖ Installation

Add kolorz to your project's Cargo.toml:

[dependencies]
kolorz = "0.7.0"

❖ Basic Usage

// print kolored text
use kolorz::Kolor;

fn main() {
    let mocha = Kolor::new("catppuccin mocha");
    println!("{}", mocha.red("This is red"));
}
// get an array of all available kolorschemes
use kolorz::Kolor;

fn main() {
    let kolorschemes = Kolor::get_all_kolorschemes();
}

❖ The following kolorschemes are available:


❖ The following kolors are available on all of the kolorschemes:

  • red
  • purple
  • blue
  • orange
  • yellow
  • text (usually white on dark kolorschemes)

❖ What's New?

0.7.0 - Fix formatting, methods no longer return a String