Skip to content

mattstyles/colour16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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('colour16')

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('colour16/c64')

License

MIT

About

16-colour palettes

Resources

Stars

Watchers

Forks

Packages

No packages published