code updates for multiple colors