Paper: instead of one, let there be two identical diagrams except for different color codings.
Online: one may have several color codings for the same diagram; only one at the time would show up on the screen--then click-click, and you switch from one encoding to another.