theme-color not showing up in standalone web app

When you add your website to the homescreen and run it from there. The theme-color does not show up. It only shows a white background. How can this be fixed?