Illustrator add inner shadow effect?
I have a rounded square with some stroke. I want some inner color.
Similar to this. How can I achieve that effect in illustrator?
The Inner Glow Way
Choose black color and adjust the
blurto your liking (make sure to change color mode to
normal! default is
Rasterize the the object (
Image Tracethe object to create shadow levels (adjust number of colors)
Tinker with it.
Here is an example:
Multiple Strokes Way
You can create the effect using multiple strokes. To add multiple strokes open up the
Appearance window and click on the
Add new stroke button / icon, it is the first in the bottom left side of the panel.
Make sure the strokes are
inside the object for optimal control.
I think multiple strokes is a great way to achieve this effect, but there is another method that may or may not be better, depending on your specific needs.
Start with your outer path, no stroke, fill with the color you want for the outermost stroke. Go to Object > Path > Offset Path... and enter how much smaller you want to make the inner path.
Then change the fill of the inner shape to the color you want the innermost part to be, select both and go to Object > Blend > Make (hotkey is Alt+Ctrl+B on Windows). Then go to Object > Blend > Blend Options..., change the spacing to "Specified Steps" and enter the number of steps you want, hit OK and you're done!
There are a couple of advantages to this method.
- Available in older versions of Illustrator
- Size and color of each section is automatically generated rather than you having to manually figure out values
- You can play with the blend options and the size and color of both shapes to quickly try out multiple looks
- You can quickly convert this into multiple separate paths if necessary by going to Object > Blend > Expand
Again, this may or may not be a better method, it really depends on your specific needs.