Update the color for the preview.