Some 16-colour palettes
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')
MIT