实例

一种颜色的效果

下面是一种颜色变化的效果

Shirt Image Mask Image

Niko T-Shirt

Look awesome

Choose a Color:

两种颜色

一种颜色不能满足你的要求的话,看看下面二种颜色的效果.

Shirt Image Mask Image

Niko T-Shirt

Look awesome

Choose a Base Color:

Choose a Logo Color:

Options

Name Description
transparency Transparency of color overlaying the image.
Number between 0-1; Default: 0.55
secondaryTransparency Transparency of the secondary colors overlaying the image.
Number between 0-1; Default: 0.55
swatchTransparency Transparency of the color swatches for the gradient
Number between 0-1; Default: 0.75
swatchClass Class of the div containing the swatches. If you change it from the default, make sure to modify the css accordingly.
'Class name'; Default: '.swatch'

适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.


代码整理:站长图库