update grayscale color palette