color-hash

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
color-hash
64722.0.2a day ago8 years agoMinified + gzip package size for color-hash in KB

Readme

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;