hello-color
v1.0.2
Published
Functional color palette generator
Downloads
28
Readme
hello-color
Functional color palette generator
http://jxnblk.com/hello-color
npm i hello-color
import hello from 'hello-color'
const result = hello('#0fc')
// Returns an object with negated and adjusted color
// that meets a minimum contrast
// {
// base: '#00ffcc',
// color: '#f6002d',
// contrast: 3.2636058745832304,
// dark: false
// }
MIT License