colors-ui
v1.0.1
Published
const color=require('colors-ui') <br/> const { randomColor, linearGradientColor }=require('colors-ui') ### 生成随机颜色值 randomColor()
Downloads
2
Readme
引入方法
const color=require('colors-ui') const { randomColor, linearGradientColor }=require('colors-ui')
生成随机颜色值
randomColor()
生成随机渐变色值 (需要配合css background-image进行使用)
linearGradientColor()