dynamic color based on polarity