Skip to main content

Change opacity on a referenced color variable

  • September 12, 2024
  • 11 replies
  • 1662 views

Henrik_Andersen

So this boggles me.

Why can’t I change (override) the opacity of a referenced color-variable, without having to detach it? To me a color and an opacity value are two different things. So if I want an opacity on my referenced color e.g. “Blue-950” I have to detach it and change the value to my liking, now it is not referenced to the variable collection anymore.

A workaround is to add that “Blue-950” with the desired opacity in the variable collection and then reference that new “Blue-950-50-percent”.

It is so annoying that you can’t change opacity on the fly without loosing reference!!!

11 replies

Alok
  • September 12, 2024

I get why that would be frustrating. Changing the opacity of a color variable directly without detaching it would be a useful feature. Currently, Figma doesn’t allow for overriding opacity directly on referenced color variables, which indeed forces you to either detach or create new variables for each opacity level.


djv
Figmate
  • Community Support
  • September 16, 2024

Hey @Henrik_Andersen, thanks for the feedback!

@Alok is correct that this is currently expected behavior. I updated your topic for clarity, and we’ll pass this onto our team for future improvement.

Be sure to also vote up top! ☝️ Our teams use votes to gauge overall interest and prioritize.


Vishwajeet_Bhadouria

Exactly, Needed this.
Thanks for raising it @Henrik_Andersen 🙌

Earlier opacity wasn’t handled very well over web. Now we can manage it in strokes and fill easily, without worrying about interactions/animations.
So I believe this can help in managing design systems by allowing opacity overriding for color tokens.


wgo
  • Active Member
  • March 7, 2025

+1 on this topic. It’s hard for me to understand why this hasn’t been implemented yet. Makes theming so much harder.

Thanks for considering this, Figma developer team… 8-)


Jared_r
  • New Member
  • March 12, 2025

+1 Design System Management is still painful without a feature like this


Recep_Kutuk
  • New Participant
  • April 17, 2025

+1 This would be a very valuable feature for design system  management!


Melanie_Sorensen1

This is needed for Angular 19 Material components.


Lukas24
  • New Member
  • August 27, 2025

Any news about this? Still desperately need this!


Michal_Swiaczkowski

@djv Hey, any chance this will be added? CSS allows it, but Figma doesn't. 😭


Matt Frederick CTS

+1 here. We just started using variables for color while merging/simplifying color themes. Looking and not finding that feature was kind of a let down. :)


Pascale D'Offay

@djv 
Same issue.

The only workaround I could find was to create a gradient of the same variable and then it lets you add opacity to it.  But that’s still not a viable solution.  It’s been over a year since the first request was posted.  Please can we add opacity to a variable!

 

Screenshot 1: Gradient fill with opacity applied

Gradient fill allows you to add opacity

Screenshot 2: Gradient setup using the same variable added twice

1x variable used to create the gradient