我需要Illustrator脚本来查找范围内的数字组合

时间:2018-08-09 14:35:05

标签: javascript adobe-illustrator

我需要能够根据RGB数字降低颜色。我不是100%如何做到这一点。这是我要找的东西。

\var aDoc = app.activeDocument;  

var rgbCol = new RGBColor();  
rgbCol.red = x >= 200  &&  x <= 220;  
rgbCol.green = y >= 200 &&  y <= 220;  
rgbCol.blue = z >= 200 &&  z <= 220;  

aDoc.defaultFillColor = rgbCol;  
app.executeMenuCommand("Find Fill Color menu item"); 

每个RGB编号可以彼此不同。有什么想法吗?

0 个答案:

没有答案