Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
color_hash
/
mod.ts
Generate color based on the given string (using HSL color space and SHA256).
zenozeng/color-hash
Version
Latest
v2.0.1
v2.0.0
Menu
lib
mod.ts
(default module)
c
default
import
*
as
colorHash
from
"https://deno.land/x/color_hash@v2.0.1/mod.ts"
;
Classes
c
default