1.0.1 • Published 6 years ago

colour16 v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

colour16

License: MIT Dependency Status js-standard-style

Some 16-colour palettes

Getting started

npm install -S colour16

Each palette exposes an array of 16 colours, you can also key by colour name too.

const { db } = require('db')

document.body.style.background = db.blue
document.body.style.color = db[2]

You can reach in to the package and pull out just single palettes rather than rely on destructuring and then tree shaking to strip unused palettes.

const c64 = require('db/c64')

License

MIT