一个简单,可定制,微小的javascript颜色抽取器:Colorify.js
jopen
8年前
Colorify.js是一个简单,可定制,微小的javascript颜色抽取器。
Colorify是一个采用Javascript编写的脚本,能够让从图片抽取颜色并操作它们。From a simple plain color, based on the dominant color, to a beautiful gradient based on the image edges colors, colorify.js will spice up your designs!
In summary, with Colorify.js, you can :
- - Extract the dominant color from an image
- - Generate gradients based on the images colors
- - Isolate colors and manipulates them everywhere in the page
- - Create a Lazy-revealer system for your images
- - Load image dynamically
- - Create any colorify({}); instances you want