π π π π Chromotome π π π π
A collection of color palettes used in order to easily colorize new creative coding projects. New palettes will be continuously added, and all existing ones are subject to change.
An overview of the different palettes will be available soon.
Installation:
npm install -save chromotome
Basic usage:
// Can both use ES6 import and CommonJS require.
import * as tome from 'chromotome';
// Palettes can be acquired randomly...
let palette = tome.getRandom();
// ...or by name
palette = tome.get('Prettiest Palette');
// Access the colors through the 'colors' property.
console.log(palette.colors); // --> [ '#abc', '#cba', '#bac' ]
Palette overview: