Color Hash
Generate color based on the given string.
Demo
https://zenozeng.github.io/color-hash/demo/
Usage
Deno
1 |
import ColorHash from “https://deno.land/x/color_hash@v2.0.0/mod.ts”
1 |
Node.js
1 |
npm install color-hash
1 |
1 |
import ColorHash from ‘color-hash’
1 |
or
1 |
const ColorHash = require(‘color-hash’).default;
1 |