v2.0.1
Generate color based on the given string (using HSL color space and SHA256).
Repository
Current version released
4 years ago
Dependencies
std
Versions
Color Hash
Generate color based on the given string.
Demo
https://zenozeng.github.io/color-hash/demo/
Usage
Deno
import ColorHash from "https://deno.land/x/color_hash@v2.0.0/mod.ts"
Node.js
npm install color-hash
import ColorHash from 'color-hash'
or
const ColorHash = require('color-hash').default;