Polychromatic neural networks