cha 0.1.1

Color Hashing Algorithm
Documentation

CHA Color Hashing Algorithm

Hash an input data string into an RGB color.

Usage

extern crate cha;
use cha::Color;

fn main() {
  let color = Color::from("foo~");
  assert_eq!(format!("{}", color.to_color_string()), "#06CBB2");
  assert_eq!(format!("{:?}", color), "Color(6, 203, 178)");
}