Skip to main content
The Deno 2 Release Candidate is 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
/
colormath
/
mod.ts
>
ansi256
A color conversion and color manipulation library written in typescript for Node.js, Deno and Browser 🎨.
scientific-dev/colormath.js
Version
Latest
1.2.4
1.2.3
1.2.2
1.2.0
1.1.9
Menu
dist
src
mod.ts
(default module)
N
ansi16
N
ansi256
N
apple
N
cmyk
N
gray
N
hex
N
hsl
N
hsv
N
hwb
N
lab
N
lch
N
rgb
N
xyz
c
ColorResult
T
ColorValue
f
breakHex
f
complement
f
darken
f
desaturate
f
formatHex
f
grayscale
f
hue
f
invert
f
lighten
f
mixColor
f
padHex
f
random
f
randomHex
f
rawHex
f
saturate
tsup.config.js
namespace
ansi256
import
{ ansi256 }
from
"https://deno.land/x/colormath@1.2.4/mod.ts"
;