Extracting colour from an SVG PShape child

Hi. I have an SVG loaded - lots of squares of different colours in a large grid. These are filled in 5 different colours. I want to step through all the squares and find out what colour it is and total up each colour, for a data visualisation. But I can't find how to actually extract the colour info from any given shape. I can set it, but not know what colour it is as loaded from the SVG file it seems. Any ideas?

Sign In or Register to comment.