4 releases
0.1.3 | Jan 21, 2024 |
---|---|
0.1.2 | Jan 21, 2024 |
0.1.1 | Jan 21, 2024 |
0.1.0 | Jan 21, 2024 |
#658 in Images
11KB
171 lines
colorhash
Convert a string to a color representation consistently by using a sha256 hash.
Based on color-hash for JS. Doesn't use a custom hashing function, it's always sha256.
To try out how it works:
rustup target add wasm32-unknown-unknown
cargo install trunk
cd demo-page
trunk serve
You should see a result like this:
Dependencies
~220KB