Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I set the fill of a rectangle to be 50% opacity, but keep the stroke at full opacity? The transparency panel controls both fill and stroke. I want to set them independently.

share|improve this question
up vote 8 down vote accepted

or you can just go native way :D

enter image description here

locked by Vincent Oct 19 '15 at 12:34

This post has been locked due to the high amount of off-topic comments generated. For extended discussions, please use chat.

I locked this post because of an extensive amount of spam edits to it. Please flag if you want to edit. – Vincent Oct 15 '15 at 9:03

While I have no direct answer, I do have a work-around:

1)Select your shape, then go...

enter image description here

2) This box will pop-up, make sure you have both fill and stroke checked off. Click OK. enter image description here

3) Right-click and ungroup your shape - -you should now be able to adjust fill and stroke* individually. enter image description here

*Your stroke isn't actually a stroke anymore, it is now a shape!

share|improve this answer
That's very hacky. I wouldn't be able to change the stroke thickness in case I need to in the future. – JoJo Oct 27 '11 at 3:03
Which is why it's merely a workaround. I'm sorry I can't offer you a better solution, I'm sure someone else has one though, just be patient :] – Johannes Oct 27 '11 at 3:34

easiest way for me: draw a box, set it to the desired transparency, set it to the side out of artboard, then draw your box, set the stroke to desired color and point, then when you set your fill color, just use the color picker (eyedropper tool) and choose the color from your previous box. You will then have your box with desired opaque stroke and your fill will be set to desired transparency. You can then delete the box that was set off to the side.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.