add color registers and color palette