colory 0.1.0

A simple library to make your command line application more colorful!
Documentation
/*
Copyright 2020 CoolDeveloper101

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/


use colory::ForegroundColor as fg;


pub fn main(){
	println!("Note: All these features may not not work as expected as your terminal may not support all ansi escape codes or may even not support ansi escape codes at all.\n");

	println!("\
	You can use colory to output different colors. This is the most basic example of using colory with the eight basic colors:\n\
	{}This should be red{}",
	fg::Red, fg::Normal);

	println!("\
	Somethimes you want more than 8 colors. Colory also has options to choose from a 8 bit color pallete which contains 256 colors:\n\
	{}This should be a bluish color.{}",
	fg::EightBit(39), fg::Normal);

	println!("\
	Heck! You want even more colors. Colory also has an RGB pallete which allows you to have 16777216 colors!:\n\
	{}This should be a dark bluish color.{}",
	fg::RGB(77, 143, 161), fg::Normal);
}