hello-color
Functional color palette generator
npm i hello-color
const result = // Returns an object with negated and adjusted color// that meets a minimum contrast// {// base: '#00ffcc',// color: '#f6002d',// contrast: 3.2636058745832304,// dark: false// }
MIT License