I was wondering if there is a way in Illustrator to create a certain number of swatches out of a gradient. Say that I need 9 distinct colors and I want to extract these colors from a gradient. What it would return for example is the color at 10%, 20%, 30% etc in the gradient.
Is there a function in Illustrator to do this?
Answer
There’s no way of doing it fully automatically in Illustrator, although I suppose it could be scripted if you feel so inclined, but there is a way of doing it with a few extra clicks!
You could add stops to your gradient, using the grid as a guide for placing the stops equidistantly.
Then click on the fill selector, hit the little menu icon in the dropdown, and choose Add Selected Colours
Attribution
Source : Link , Question Author : martin36 , Answer Author : Billy Kerr