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

Notifications

Announcements

Community site session details

Community site session details

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

Label fill color transparency

(0) ShareShare
ReportReport
Posted on by 265

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard