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