colgen
v0.0.1
Published
color-generator
Downloads
2
Readme
colgen color-generator
install
npm install colgen
usage
//index.js
import {genHex, genRgb} from 'colgen'
genHex(10)
> [ '#256aa7','#4a563b','#7f3f55','#fb85f7','#94270f','#97f48b','#2b9a0b','#1fac4','#416bb9','#5e853b' ]
genRgb(10)
> [ 'rgb(100,184,33)','rgb(152,133,187)','rgb(45,178,2)','rgb(70,16,216)','rgb(123,169,229)','rgb(107,228,63)','rgb(213,253,88)','rgb(62,100,217)','rgb(97,215,142)','rgb(229,140,131)' ]
license
MIT. Copyright (c) viii.