# Change color scheme for example box in beamer

I've already slightly adopted the colorscheme of my Frankfurt themed beamer class with:

% Define my settings
\definecolor{mygreen}{cmyk}{0.82,0.11,1,0.25}
\setbeamercolor{structure}{fg=mygreen}


Due to the settings of the structure-color to "mygreen" also the color for the block is set to green similar to the exampleblock. Thus I want to change the color of the exampleblock to blue (like the default non_modified block in Frankfurt) or yellow (like in color scheme crane

I tried: \setbeamercolor{exampleblock}{fg=blue} which has no effect :(

Any suggestions?

-

The right keys to modify the exampleblock environment are:

• block title example for the title;
• block body example for the body of the block.

Here is a complete example:

\documentclass{beamer}

\usetheme{Frankfurt}
% Define my settings
\definecolor{mygreen}{cmyk}{0.82,0.11,1,0.25}
\setbeamercolor{structure}{fg=mygreen}
\setbeamercolor*{block title example}{fg=blue!50,
bg= blue!10}
\setbeamercolor*{block body example}{fg= blue,
bg= blue!5}

\begin{document}

\begin{frame}{Frame title}
\begin{block}{Block title}
Hello
\end{block}
\begin{exampleblock}{ExampleBlock title}
Hello
\end{exampleblock}
\end{frame}
\end{document}


Result:

-
Great. There are just two questions related to that: 1) Is there a list of all keys whose color can be changed? E.g I also need to change to colors of the itemize points in the example box. 2) Where can I extract the colors of predefined themes e.g. the above mentioned yellows of crane? – Johannes Sep 19 '12 at 9:57
I'm not aware of such a list, but you find them along the beameruserguide. For what concern the color extraction, you could have a look to How to get actual values of colour theme colours in beamer?. – Claudio Fiandrino Sep 19 '12 at 10:23
@Johannes: I've updated my answer How to get actual values of colour theme colours in beamer? in order to provide an example of blocks colors for the Frankfurt theme and the crane color theme. – Claudio Fiandrino Sep 19 '12 at 16:17