Skip to content

Repository files navigation

The simplest color tone function for JS

NPM versionCIinstall size

Install

npm i make-tints

See it in action →

Usage

import{tint}from'make-tints'consttintBy=tint('#000')tintBy(-20)//=> 000000 darker tints can be achieved by using negative percentagestintBy(20)//=> 333333tintBy(40)//=> 666666tintBy(60)//=> 999999

License

MIT License © 2022 Reaper

About

The simplest color tone function for JS

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages