i am trying to add a CustomColor to the swatch panel with the same name but different tints. Like you can do in the Panel f.ex: Blue 50% and Blue20%
When I just try to add them with names like "Blue 50%" and "Blue 20%" the result is "Blue 50% 50%" and "Blue 20% 20%", so this is not the solution.
I just want to add a color named "Blue" with color.c.c.tint = 50 and a color "Blue" with color.c.c.tint = 20
Does anybody have a clue?
Thanks in advance,
Get the AIColor for the base color you want. Either set it up via the CustomColor suite, or search an existing swatch using the SwatchList suite.
Set the tint to whatever you want.
Create a new swatch and SetAIColor on it.
The swatch name will be handled automatically for you for custom colors. It'll use the name from the base color and add the %.
I didn't think about that way!