make-tints

[![NPM version](https://img.shields.io/npm/v/make-tints?color=a1b858&label=)](https://www.npmjs.com/package/make-tints)


Keywords
color, tones, tints, make-tints, javascript
License
MIT
Install
npm install make-tints@0.0.10

Documentation

The simplest color tone function for JS

NPM version CI install size

Install

npm i make-tints

See it in action →

Usage

import {tint} from 'make-tints'

const tintBy = tint('#000')
tintBy(-20) //=> 000000 darker tints can be achieved by using negative percentages
tintBy(20) //=> 333333
tintBy(40) //=> 666666
tintBy(60) //=> 999999

License

MIT License © 2022 Reaper