hello-color

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i hello-color

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • jxnblk