Apple Watch complication - script icon colour based on entity state

Is it possible to change the script icon color in the Apple Watch complication based on an entity state?

Right now I have two scripts to turn a pump on and off from the Watch complication but I’m trying to think of ways to reduce that to a single script using toggle with an icon colour to indicate it’s current state instead of turn on/turn off.