The simplest color tone function for JS
npm i make-tints
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