3

I'd like to be able to get a count on the current amount of colors being used in an Illustrator file. Additionally I'd like to be able to export the colors info (names, values, etc.) to a text file if possible.

Does anyone know how to do either of these without counting and exporting each color manually such as this question suggests? How can I separate colors by layer in Illustrator?

I've been digging around for an answer and am mostly finding articles on reducing the amount of colors instead of info on providing a count.

Thanks.

1
  • The script I posted here should get you at least part of the way
    – Cai
    Nov 23, 2016 at 18:27

3 Answers 3

4

Here's where to find the current color count:

I finally found out where to view the total colors used in Illustrator and wanted to share it in case someone else can use it.

In Illustrator go to Edit > Edit Colors > Recolor Artwork. A window like the example below opens up and the current color count is shown below the upper left corner.

enter image description here

1

You can make a color group that collects the color from selected artwork. As per this post.

Scriptdumping the swatches is easy (in illustrator but not in photoshop for example). But since Cai already linked one lets use it. You can simply alert the length of swatch count.

0

Select All (Ctrl + A, or CMD + A)

Open Fill in Properties > Appearance

New Colour Group (folder icon)

Check Selected Artwork

Will create a new folder with all the colours inside of it

1
  • .... unless colors are part of a gradient or pattern. Then this method fails.
    – Scott
    Mar 14 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.