[Tex/LaTex] Change color in beamer theme

beamercolor

I'm preparing a presentation using the following beamer theme:

\usetheme{AnnArbor}
\usecolortheme{beaver}

Is there any easy way to change the yellow color to cyan each time it is used in the theme? I have used Latex for some time but I have absolutely no idea how beamer works.

Edit: Here is a MWE. When I compile this, the title box is yellow, and that is the color I wanted to change to blue.

\documentclass{beamer}
\usepackage[spanish,activeacute]{babel}
\usetheme{AnnArbor}
\usecolortheme{beaver}
\begin{document}
\title{My title}  
\author{My name}
\date{\today} 
\begin{frame}
\titlepage
\end{frame}
\end{document}

Best Answer

AnnArbor defines the background color for titles (and similar) with:

\setbeamercolor{titlelike}{parent=structure,bg=yellow!85!orange}

(see beamerthemeAnnArbor.sty).

To change it into a kind of blue you can use something like:

\documentclass{beamer}
\usepackage[spanish,activeacute]{babel}
\usetheme{AnnArbor}
\usecolortheme{beaver}
\setbeamercolor{titlelike}{parent=structure,bg=cyan}
\begin{document}
\title{My title}  
\author{My name}
\date{\today} 
\begin{frame}
\titlepage
\end{frame}
\end{document}

The result is:

cyan background instead of yellow

Changing the foreground color is as easy, e.g., use

\setbeamercolor{titlelike}{parent=structure,fg=yellow,bg=cyan}

to get

yellow text, cyan background

See the beamer manual for more information about \setbeamercolor and keys like fg and bg.