ColorShell 1.0.7

A small crate for coloring text for rust
Documentation

ColorShell

Colorshell is a rust library i made while i was bored. I have only been doing rust for 2.5 days. It lets you easily print colored text to the console

Features

The color Function

The color function will color text you give it. The color paramater takes in a color struct

Definition:

fn color(text: &'static, clr: Color) -> String {

}

The Color Struct

Uses ansi escape codes Builtin ones are +BOLD +ITALIC +UNDERLINED +PULSE +BLACK +RED +GREEN +YELLOW +BLUE +PURPLE +CYAN +GREY Any others can be done with

Color {
    "<ansi escape code here>"
}