Using Opacity Masks in Illustrator

Opacity Masks in Illustrator

When you are trying to learn new software, it can be difficult to find your way around. You may not know the terms to look for, or you may not know where to look to find what you are looking for. If you are transitioning from another program, such as Photoshop, you may be used to certain terminology. When using Illustrator, you may be looking for something that isn’t even there. In Photoshop, if you want to blend something or fade it gradually, you would use a layer mask. In Illustrator, you don’t have layer masks. To blend or fade away a portion of an object, you use something called an opacity mask. You can also control the opacity of gradients and mesh points, but an opacity mask has its uses.

This isn’t so straightforward, especially if you are used to layer masks in Photoshop. I will show you how to create an Opacity mask in Illustrator. It isn’t necessarily difficult, you just have to know where to look. Create a New Document in Illustrator. It can be any size that you want. I created a new document that is 1024px x 768px. I am using text to illustrate this method, and the text shown below is Myriad Pro Bold at 222pt size. I filled it with a medium blue.

opacity mask-text

Next, Select the Rectangle Tool and draw a rectangle over the bottom half of the text. Fill it with white. Then, make a copy of the rectangle by hitting Command/Ctrl + C. The paste in front by hitting Command/Ctrl + F. This automatically places a copy of the rectangle in front of the currently selected object.

opacity mask-rectangle

As you can see below, I moved the copy (just so you could see that there are two rectangles). You won’t want to move your rectangles at all. With the top rectangle still selected, change the fill to a liner gradient. To make the gradient fade in the direction that I wanted it to go, I had to change the angle to -90°.

opacity mask-copy

Now Select Both rectangles, but not the text. Remember that they are on top of each other. you may have to click and drag your mouse over the right hand or left hand side of the rectangle to avoid selecting the text as well.

opacity mask-gradient

Go to the Transparency Panel on the side and click the flyout menu. Then, select Make Opacity Mask.

opacity mask-transparency

What happens is that the gradient rectangle acts just like a layer mask in Photoshop. Anything white is left untouched, but anything that is a shade darker than white (light grey to black) is masked out. The closer that area is to black, the higher amount of transparency that will be applied.

opacity mask-Made

The Problem now is that we still have the bounding box of the rectangle to contend with. If you try to place something near the text, you will see the opacity mask and it may interfere with other objects. Select the text and copy it to your clipboard. Then, just as we did with the rectangle, hit Command/Ctrl +F to paste it in front. Go to Object> Arrange> Bring to front.

opacity mask-clipping

Then select the rectangle and the top layer of text. Hit Command/Ctrl +7 to make a clipping path, clipping the opacity mask to the shape of the text, as shown below.

Opacity Mask-final


Opacity masks in Illustrator aren’t difficult to master, but you might have worked in Illustrator for a long time and not even known that they were there. This technique is simple and easy to use, and you can combine it with other techniques to create realistic vector illustrations. Opacity masks are just another tool to help make your life easier when working in Illustrator. Have you found an interesting use for opacity masks in Illustrator? Do you have a tip to share regarding opacity masks? Share your thoughts in the comments section below.

One Comment
  1. December 11, 2014 | Reply

Your opinion is important to me. Be heard!

Dreamweaver Fireworks Flash Illustrator Indesign Lightroom Painter Photoshop Quark Typography
Screen Shot 2014-12-20 at 2.29.26 PM
Photoshop Time Saving Tips

In this Photoshop tutorial, I’ll teach you ways of working quicker...

Seamless winter patterns
Free Vector Winter Patterns

Winter Patterns In case you haven’t stepped outside recently, Winter is...

Picture 30
Molding Images to a Surface in Photoshop

Molding Images If you want to create some cool effects with...

Graphic design pro
Software Skills Don’t Make You a Graphic Design Pro

Photoshop ≠ Graphic Design Pro I teach a lot of software...

Clinix - Free Bootstrap Templates
5 Free Bootstrap Templates Via ThemifyCloud

Bootstrap Templates Normally, I share one free HTML 5 or bootstrap-based...

An Introduction to Joomla

What is Joomla and it’s Advantages? Joomla is an open-source CMS,...

75 Clean WordPress Blog Themes

Pick the Right WordPress Blog Theme for You WordPress has come...

10 Best Photography WordPress Themes

10 Best Photography WordPress Themes That Make Your Heart Beat Faster...

Top 20 Free and Premium WordPress Themes to Refresh Your Website

Free and Premium WordPress Themes Wait a minute, you say. Have...

20 Refreshing WordPress Themes for Autumn

20 Refreshing WordPress Themes Seasons come one after another, and, fortunately,...