setting color when brightness is set