# beamer warsaw modify heading color (roght side) in relation to sections

I'm using the Warsaw template for beamer class. I would like that the color of the left heading of my presentation vary by section (each section has a customised color.
I saw a solution here: Changing color in beamer header (Singapore) However, this is adapted to Singapore theme and is very customised. Is there any help, please.

You can set the section in head/foot color from section to section:

\documentclass{beamer}
\usetheme{Warsaw}

\begin{document}

\section{sec1}
\subsection{sub1}
\begin{frame}
abc
\end{frame}

\section{sec2}
\subsection{sub2}
\begin{frame}
abc
\end{frame}

\end{document}


You can even make the colour change automatic:

\documentclass{beamer}
\usetheme{Warsaw}

\definecolorseries{foo}{rgb}{last}{red}{blue}
\resetcolorseries[3]{foo}

\AtBeginSection[]{%
}

\begin{document}

\section{sec1}
\subsection{sub1}
\begin{frame}
abc
\end{frame}

\section{sec2}
\subsection{sub2}
\begin{frame}
abc
\end{frame}

\section{sec3}
\subsection{sub3}
\begin{frame}
abc
\end{frame}

\end{document}


• thank you very much for the quick answer, however, I want to modify the right part color, not the left one. So, each subsection group has the same color. Thank you again – Bey Rout Nov 24 '17 at 21:51
• @BeyRout Upps! Please see my edited answer. – samcarter_is_at_topanswers.xyz Nov 24 '17 at 22:02
• A last question please, how can I customise the color series to pick exactly some defined colors! – Bey Rout Nov 24 '17 at 22:40
• and I saw that you gave once a solution to change section subsection font size for the active slide. But, I don't figure out how to adapt it to my case. Can you please help me to do it. Thank you very much – Bey Rout Nov 24 '17 at 23:40
• @BeyRout Colour series only interpolate between the first and the last colour. If you want other colours, do it manually like in my first solution. – samcarter_is_at_topanswers.xyz Nov 24 '17 at 23:46