Skip to main content
ascotto
Known Participant
Nov 4, 2016 10:20 AM UTC
Answered

how to get the amount (%) of a graphic's colors

Hi guys, if I had a graphic, eg a green and purple logo, how could I know the percentage of green and the one of purple? Maybe is there some plugin that outputs the area of a item?

Thanks a lot!

This topic is closed to new replies. Start a new post to keep the conversation going.
Jacob Bugge
Jacob BuggeCorrect answer
Community Expert
Nov 4, 2016 3:10 PM UTC

ascotto,

Sorry, I forgot to mention the crucial fact that Patharea sums up the constituent paths in a Compound Path. This means that the area of the holes are added to the area of the outer bounds instead of being subtracted.

For a Compound Path, you can get the exact non hole ink using area as follows:

1) Select the Compound Path and apply Patharea and take a note of it/save the number somewhere;

This will give you the area of the outer bounds + the area(s) of any hole(s);

2) With the Direct Selection Tool Alt/OptionShiftClick on the border of each subpath forming a hole (the one in an A, the two in a B or whatever, you only need to hold Shift if there are more than one hole) to get the total hole area;

3) Take the area from 1) and subtract twice (2x) the area from 2).

This should give you the exact ink using area.

You may try it out with paths of known areas, such as a large 100 x 100 mm square with a number of 10 x 10 mm squares cut out, until you are convinced that it works.

17 replies

Participant
Jan 18, 2022 9:20 PM UTC

Did you ever find a solution to this? Looking for the same thing.

Translate
Monika Gause
Community Expert
Community Expert
Jan 18, 2022 10:52 PM UTC

A solution to what?

Separations panel with percentages?

 

Maybe use the plugin InkQuest? Or just do as mentioned in the correct answers?

Translate
ascotto
ascottoAuthor
Known Participant
Nov 4, 2016 2:56 PM UTC

Thank you guys, I've already tried Patharea but it seems to not work on shapes with holes like an "A".

Yep, I could actually eyeball it, but It would be nicer to know exactly what I've done…

Bobby, great lesson about inks, really, though it's not what I'm looking for (I admit my issue is not that clear…)

Somewhere someone wrote about a debugging window called with cmd+alt+shift+f12, but with f12 I rise the volume up, does anyone know how to see that window "the-noob-long-way"?

Translate
Jacob Bugge
Community Expert
Jacob BuggeCommunity ExpertCorrect answer
Community Expert
Nov 4, 2016 3:10 PM UTC

ascotto,

Sorry, I forgot to mention the crucial fact that Patharea sums up the constituent paths in a Compound Path. This means that the area of the holes are added to the area of the outer bounds instead of being subtracted.

For a Compound Path, you can get the exact non hole ink using area as follows:

1) Select the Compound Path and apply Patharea and take a note of it/save the number somewhere;

This will give you the area of the outer bounds + the area(s) of any hole(s);

2) With the Direct Selection Tool Alt/OptionShiftClick on the border of each subpath forming a hole (the one in an A, the two in a B or whatever, you only need to hold Shift if there are more than one hole) to get the total hole area;

3) Take the area from 1) and subtract twice (2x) the area from 2).

This should give you the exact ink using area.

You may try it out with paths of known areas, such as a large 100 x 100 mm square with a number of 10 x 10 mm squares cut out, until you are convinced that it works.

Translate
ascotto
ascottoAuthor
Known Participant
Nov 4, 2016 3:31 PM UTC

wow, even weirder Ok, I'll give it a try, otherwise I think I'll follow dougofakkad's advice to just say "mmm, yep, I should have nailed it". I'll let you know!

Translate
Community Expert
Nov 4, 2016 1:47 PM UTC

Percentages of colors, tints, etc. in an object will depend on the color model used, as well as any effects such as transparency that are applied to the object.

If the selected object uses process CMYK colors there is no percentage of brown. The brown is going to be created by mixing percentages of primary cyan, magenta, yellow and black colors. The same thing goes for RGB colors; it's a mixture of red, green and blue primary colors.

If the selected object uses a spot color, such as Pantone 469, then that is indeed a brown color. The color can be applied in various percentages to lighten it. Spot colors often have qualities that cannot be reproduced within the gamut limits of normal CMYK process printing. The downside is each spot color will require a separate printing plate, which drives up the cost of a printing job. Spot colors usually must be used sparingly.

It can be a chore to adjust CMYK or RGB percentages to get the fill color right on an object or even just part of a gradient. This is why it's usually a good idea to carefully develop a good color scheme of pre-mixed colors in Illustrator's swatch palette. It's a good way to keep colors consistent.

Translate
Doug A Roberts
Community Expert
Community Expert
Nov 4, 2016 11:05 AM UTC

select each object and look at the colour palette? do you mean tints?

Translate
ascotto
ascottoAuthor
Known Participant
Nov 4, 2016 11:22 AM UTC

Hi dougofakkad, nope, i mean: I have a yellow object maybe, so the % of color on the artboard, or better on the selection, is 100% yellow. If I duplicate this object and make it brown, I'd have an amount of 50% yellow and 50% brown. In other words, I'd need a way to calculate area of objects, than I may manually get the % of every color…

Translate
Doug A Roberts
Community Expert
Community Expert
Nov 4, 2016 12:13 PM UTC

i can't think of a method off the top of my head. it might help others if you describe why you want this.

Translate