[Tex/LaTex] Change the color or the progress bar indicator in the beamer metropolis theme

beamerbeamer-metropoliscolorthemes

I am trying to find (without success) a way to change the orange color of the progress bar indicator in the beamer metropolis theme. Are you aware of the command that I should use for this purpose?

Thanks!

Best Answer

The default colour used for the progress bar is

\setbeamercolor{progress bar}{%
  use=alerted text,
  fg=alerted text.fg,
  bg=alerted text.fg!50!black!30
}

The fg value defines the already presented part, the bg value the part to come.

\documentclass{beamer}
\usetheme[progressbar=frametitle]{metropolis}

\setbeamercolor{progress bar}{fg=green,bg=blue}

\begin{document}

\begin{frame}
\frametitle{title}
42
\end{frame}

\begin{frame}
\frametitle{title}
42
\end{frame}


\end{document}

enter image description here