JavaScript HTML
Latest commit fea7d03 Aug 20, 2016 @jxnblk Adjust typography
Permalink
Failed to load latest commit information.
demo Adjust typography Aug 20, 2016
src Fix color resolver Aug 14, 2016
test Edit readme Aug 13, 2016
.babelrc Update deps and tests Aug 13, 2016
.gitignore Ignore files Aug 13, 2016
.npmignore Ignore files Aug 13, 2016
.travis.yml Adjust demo Aug 13, 2016
README.md Edit readme Aug 13, 2016
package.json 1.0.1 Aug 14, 2016

README.md

hello-color

Functional color palette generator

http://jxnblk.com/hello-color

Build Status

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