npm

Need private packages and team management tools?Check out npm Orgs. »

colorfulimg

1.0.2 • Public • Published

ColorfulImg

Colorfulimg是一个能够通过canvas获取图片主题色的js工具库。

起步

安装colorfulimg

npm i colorfulimg 

在你的项目中引入colorfulimg

let colorfulimg = require('colorfulimg') 
let myImg = document.getElementById('myImg')
let rgb = colorfulImg(myImg);

取色网站ColorfulImg

ColorfulImg

Keywords

none

install

npm i colorfulimg

Downloadsweekly downloads

3

version

1.0.2

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability