Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/color_hash/README.md

Generate color based on the given string (using HSL color space and SHA256).
Latest
File

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;