Like Chroma-Hash, but with ANSI terminal colors
https://crates.io/crates/colorhash256
- Rust 100%
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
| UNLICENSE | ||
colorhash256

A Rust library that's like Chroma-Hash, but with ANSI terminal colors.
Usage
extern crate colorhash256;
let ansi = colorhash256::hash_as_ansi(b"Correct Horse Battery Staple");
let rgb = colorhash256::hash_as_rgb(b"Correct Horse Battery Staple");
License
This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.