update colorInput preview