web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Label fill color trans...
Power Apps
Answered

Label fill color transparency

(0) ShareShare
ReportReport
Posted on by 271

Hi guys,

 

If I have 2 labels that on top of the other, and I want to make the top label-HoverFill to have the same color but lighter and more transparent, any function for that ? I tried ColorFade but not succedded.

 

I actually want to put inside my Gallery, so I have 1 label in front of all the columns (labels) in my gallery. And I put empty string in this Label.Text then HoverFill I put something like ColorFade(somebutton.Fill, 0.1) --> this "somebutton" is just one of my button that I want to get the Fill Color, so it will make the same color theme, but more light and transparent.

 

The color of that label did more light, but it is not transparent, so it is blocking all the columns (labels) behind it.

 

Any input is appreciated.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Voltes ,

     

    Please refer the below official doc about color functions:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-colors

     

    The ColorFade function returns a brighter or darker version of a color. The amount of fade varies from -1 (which fully darkens a color to black) to 0 (which doesn't affect the color) to 1 (which fully brightens a color to white).

     

    The fade percentage value only controls the light or dark, not the transparency. You may try the ColorValue() function to add transparency:

    1.gif

     

    I have set Fill of the Label to White and HoverFill to ColorValue("#ffd70080") which is a light Gold with 50% transparency.

     

    CSS colors list:

    https://www.w3.org/wiki/CSS/Properties/color/keywords

     

    transparency value list:

    https://faustocapellan.com/2020/06/01/how-to-2-add-transparency-to-hex-colors-in-power-apps/

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Verified answer
    ArchitectMadhan Profile Picture
    1,584 on at

    Hi @Voltes ,

     

    Please try to use the ColorFade formula (Hover Fill) in the label within the gallery as shown here in the below screenshot. Hope this helps you.

    ArchitectMadhan_0-1626171178433.png

    Output:

    With default white background

    ArchitectMadhan_1-1626171317968.png

    With Hover fill:

    ArchitectMadhan_2-1626171392575.png

    If you find my solution helpful for resolving the issue, then please consider Accept it as the solution to help the other members find it more quickly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard