I am using a beamer and the sample code is as below.

I want to change the color of the line on the title page which is orange. (to navy)

Is there any way I could do this?

Or is there any way I can change the overall color theme?

Thank you






\subtitle{A modern beamer theme}
% \date{\today}
\author{Matthias Vogelgesang}
\institute{Center for modern beamer themes}
% \titlegraphic{\hfill\includegraphics[height=1.5cm]{logo.pdf}}



\begin{frame}{Table of contents}
  \setbeamertemplate{section in toc}[sections numbered]


2 Answers 2


First you need to make sure you are giving the xcolor package (which beamer loads) an option that defines the color you want. In this case, for "Navy", we can use the svgnames option.

You can pass options to xcolor from the beamer class by using xcolor={...} in the options for beamer:


Now you can set that color using \setbeamercolor for the element you want. In this case, at the end of the preamble, you can put:

\setbeamercolor{title separator}{fg=Navy}

For more on setting beamer colors, including using a different overall theme, see the beamer user's guide, chapter 17.


You can change the entire color theme by adding something like this to your preamble.


For other options, look for 'Complete Color Themes' section in beamer user guide. However, you may not get the exact color you want (namely 'navy'). If you only care about that title separator, then the answer by @frabjous is the way to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.