mixins for network coloring