Add color manager to cgen.