cha 0.1.1

Color Hashing Algorithm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# CHA Color Hashing Algorithm

Hash an input data string into an RGB color.

## Usage

```rust
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)");
}
```