Skip to content

An NPM module for generating incremental shades of a given color.

License

Notifications You must be signed in to change notification settings

constellates/shades

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shades

A library for generating shades of a given color.

Installation

npm install @constellates/shades

Usage

const shades = require('shades');
const grey = shades({ r: 10, g: 10, b: 10 }, 50);

console.log(grey[0]); // 'rgb(0,0,0)'
console.log(grey[1]); // 'rgb(5, 5, 5)'

About

An NPM module for generating incremental shades of a given color.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published