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 Pages / State Color change bas...
Power Pages
Unanswered

State Color change based on screen - solved !

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

To change the color state of any icon or component in power apps depending on which screen you are 

First go to the 'Fill' property 

Then use the following logic: 

If(App.ActiveScreen.Name= "Your_Screen_Name", RGBA(46, 255, 248, 1),RGBA(166, 171, 179, 1))

 

Here: 

RGBA(46, 255, 248, 1)  --> is your color is the result is yes 

RGBA(166, 171, 179, 1)  --> is your color if the result is no 

Categories:
I have the same question (0)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 58

#2
11manish Profile Picture

11manish 55

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard