ChildishhAlbino / Gogh

A node package to find N discrete colours inside a gradient.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gogh

Gogh is a npm package designed to produce gradient colour pallettes for a given number of chunks.

Installation:

npm install --save gogh-gradient

Usage:

import { gogh } from "gogh-gradient" 

// returns an array (of size n) of hex values between startHex and endHex 
const res = gogh(startHex, endHex, n)

About

A node package to find N discrete colours inside a gradient.


Languages

Language:JavaScript 100.0%