You must be logged in to sponsor reiniiriarios
Become a sponsor to Emma Litwa-Vulcu
Ivy Git
(WIP) Cross-Platform Git Client
Chromaticity Color Utilities
Color utilities for Node.js. Conversion, modification, and color schemes of: RGB (at any bit depth), HSV, HSL, HSI, HSP, CYMK, YIQ, XYZ, xyY, Lab*, Luv*, Y’PbPr, Y’CbCr, and more.
import Color from 'chromaticity-color-utilities'
const color1: Color.hsv = Color.from('rgb', [255, 128, 0]).to('hsv')
const scheme1: Color.lab[] = Color.from('hex', 0x9a237f)
.modify('desaturate', { amount: 0.2 })
.to('lab', {
colorSpace: 'AdobeRGB',
referenceWhite: 'D50',
})
.scheme('gradient', {
with: Color.from('hsl', [300, 50, 45]),
colors: 5,
})
const yourMethod = (rgb: Color.rgb): Color.hsv => {
// do things
let hsv: Color.hsv = rgb.to('hsv')
// do things
return hsv
}
Featured work
-
reiniiriarios/chromaticity-color-utilities
🎨 Color utilities for Node.js. Conversion, modification, and color schemes of: RGB (at any bit depth), HSV, HSL, HSI, HSP, CYMK, YIQ, XYZ, xyY, L*a*b*, L*u*v*, Y'PbPr, Y'CbCr, and more.
TypeScript 15 -
reiniiriarios/electron-forge-publisher-local
Local publisher for Electron Forge
-
reiniiriarios/git-commands
Commonly used aliases, functions, etc. ✌🏻
Shell 3