TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

% Define my settings
\addtobeamertemplate{block begin}{\pgfsetfillopacity{0.8}}{\pgfsetfillopacity{1}}

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

enter image description here

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

Any suggestions?

share|improve this question
up vote 8 down vote accepted

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:


% Define my settings
\addtobeamertemplate{block begin}{\pgfsetfillopacity{0.8}}{\pgfsetfillopacity{1}}
\setbeamercolor*{block title example}{fg=blue!50,
bg= blue!10}
\setbeamercolor*{block body example}{fg= blue,
bg= blue!5}


\begin{frame}{Frame title}
\begin{block}{Block title}
\begin{exampleblock}{ExampleBlock title}


enter image description here

share|improve this answer
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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