Component Color and Display States

Is there a way to change a component color only in a specific display state? I see that a couple people have asked this question in the past but no one has posted an answer. It may not be possible.

SolidworksApi macros