#color #sha-256 #hash #color-string #generate

color_hash

use string generate color-string with Rust,WebAssembly and sha256

1 unstable release

0.1.0 Feb 14, 2022

#764 in WebAssembly

MIT license

6KB
99 lines

color_hash

  • color_hash is clone from color-hash's feature which a string mapping a color.
  • color_hash is a pure function.
  • color_hash is rust wasm version.
  • rust wasm version color_hash can't not customize ,unless modify source code and compile.

test

  • npm install
  • npm run dev you can see in browser 1
  • test code in index.html

Dependencies

~1–1.8MB
~38K SLoC