Some cleanup in SetBannerColor() as suggested by wei2912.