1.0.3 • Published 4 years ago
colorcube v1.0.3
colorcube.js
Usage
Input colors:
const colorcube = require("colorcube")
let colors = colorcube(['#ff0000','#00ff00',...]) // Hex Color Value
Output colors:
colors = {
bg: '#fafafa', // Background
txt: {
main: '#000000', // Main Title
sub: '#000921', // Sub Title
sub_bg: '#a2d5f2' // Sub Title Background
}
}
Author
colorcube.js is written by wellszhao.