Skip to content
You must be logged in to sponsor reiniiriarios

Become a sponsor to Emma Litwa-Vulcu

Ivy Git

(WIP) Cross-Platform Git Client

ivygit.com

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.

Read Full Documentation

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
}
@reiniiriarios

<3

Featured work

  1. 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 16
  2. reiniiriarios/electron-forge-publisher-local

    Local publisher for Electron Forge

  3. reiniiriarios/git-commands

    Commonly used aliases, functions, etc. ✌🏻

    Shell 3

0% towards 10 monthly sponsors goal

Be the first to sponsor this goal!

Select a tier

$ a month

Oh no · GitHub

What‽

Your browser did something unexpected. Please try again. If the error continues, try disabling all browser extensions.

Please contact us if the problem persists.

You'll receive any rewards listed in the $5 monthly tier. Additionally, a Public Sponsor achievement will be added to your profile.

$1 a month

Select

<3

$5 a month

Select

<3 <3

$10 a month

Select

<3 <3 <3

What‽ Your browser did something unexpected. Please try again. If the error continues, try disabling all browser extensions. Please contact us if the problem persists. Contact Support — GitHub Status — @githubstatus