Display panel threshold color based on other panel threshold color

I have multiple panels in a dashboard and each one has threshold defined and color display based on threshold.
I want to have another panel that will show status green if all other panels are green. Is there a way that we can do this.