cancel
Showing results for 
Search instead for 
Did you mean: 

Opacity Function/Property

There are 4 ways to get color:

  • Color.Name
  • ColorValue()
  • ColorFade()
  • RGBA()

It's pretty versatile. Only one of the functions can change opacity though--that's RGBA(). The next step to improving color ability is by having a Function for adjusting the opacity. I tried with ColorFade, but it only turns things black/white and is not able to affect transparency.

 

I think a Function may be better than a Property because it could fit in existing properties for Fill and Color.

Status: Completed

See usage notes for Code Fade here:

https://powerapps.microsoft.com/en-us/tutorials/function-colors/

 

I've leveraged this for the opacity of my disabled button fill so that the user can read the button text even when the button is disabled (I set it at 80% for example). Let me know if you need more syntax examples.

 

Audrie

 

 

 

Comments
Advocate I

@Jj999999 it seems @Audrie-MSFT is not following this anymore. Maybe other staff like @GregLi can help/

Frequent Visitor

This is a good idea, but it is incorrectly marked as completed.

Regular Visitor

If you use an image box without an image you can set the opacity and the fill color to whatever level you want. I just tested this out and it worked great.