revised codes on color pallette