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 / Button Colors In Power...
Power Apps
Answered

Button Colors In Power App

(0) ShareShare
ReportReport
Posted on by

Hi I have five buttons in my power app form Screen 

Colors for each button    FDB913 ,3A9F4F ,0078D4, E76D08, 7F828

onselect of button 1 , I want to reduce the remaining buttons colors by 20%  (RGBA(58, 159, 79, 1-30%)

and if button2 is selected I want the remaining button colours should be reduce by 20%

 

Could anyone please help me to fix this 

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

    Hi @Danny_Dicaprio ,

     

    I've made a test for your reference:

    1\Set the five buttons' OnSelected property to:

    Set(SelectedButton,Self.Text)

     2\Set the five buttons' Fill property to:

    RGBA(56, 96, 178, 1-If(SelectedButton=Self.Text,0,0.2))

    vbofengmsft_0-1704332286633.png

     

    Best Regards,

    Bof

     

  • Danny_Dicaprio Profile Picture
    on at

    @v-bofeng-msft   Thanks a lot man, worked perfectly fine 👍

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 476

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 339

Last 30 days Overall leaderboard