Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Brad Woods13,772 Points
Illustrator Opacity Mask not 100% transparent
I'm trying to apply a transparency mask to a simple rectangle. I positioned another rectangle over the original and applied a linear gradient to it (white to black). I then selected both images and applied an opacity mask, however the image doesn't go from 100% opaque to 100% transparent. The image starts at 100% opaque and fades, but only to a value much less than 100% transparent. Does anyone know how to fix this?
andrew thompsonCourses Plus Student 2,252 Points
My initial thought is that you should check your the 2 values in your opacity mask. The white is always fine but I have found that illustrator often defaults to K which is part of the CMYK color mode. You will want to see if the black is actually in the RGB color mode. If it is not you can select RGB from the menu in the top right of palette. This should help with some of your transparency issues.
Next question. Is there a reason you are trying to apply an opacity mask to a rectangle? Illustrators gradient palette now supports transparency. Opacity masks can get real messy real quick & would personally avoid using them for simple shapes & only use them if I am trying fade off a large group of objects/illustration.
Illustrators Gradient + transparency https://space.zeo.net/g/1sv47
Change Color Palettes Color Mode https://space.zeo.net/g/5ag8m
Hope this helps!